Running Laravel 5 in Netbeans 8 Using PHP Built-in Web Server

You can run Laravel 5 site locally in Netbeans 8 easily using the PHP Built-in Web Server. First, make sure you have PHP 5.4.0 (or newer) installed. Once you have your Laravel 5 project configured in Netbeans, go to the project properties (Sources category) and make sure that the Web Root folder is set to the public folder available in Laravel root.

Next, in the Run Configuration category, make sure that the Router Script option is set to the server.php file also available in Laravel root. 
That should be it. Now when you click on the Run Project button (F6), your new Laravel site should open in the IDE’s default browser. 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: