Netbeans 8.0 Composer with Laravel 5

I am trying to create a PHP project with Netbeans 8.0 using Laravel 5. Since some versions back Netbeans shows a “composer tab” at the time of creating the project, but I cannot figure out how to do this.

Netbeans composer

I believe that "laravel / laravel" is correct, but when I run the project, it shows these errors:

Warning: require(C:\xampp\htdocs\SC\bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\SC\bootstrap\autoload.php on line 17

Fatal error: require(): Failed opening required 'C:\xampp\htdocs\SC\bootstrap/../vendor/autoload.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\SC\bootstrap\autoload.php on line 17
+4
source share
1 answer

I found this solution (works on Windows 8.1):

  • Create a NetBeans Project
  • Using Composer in Netbeans (see my previous post), searching for "laravel" and adding it

  • Download the Laravel zip file from this link: https://github.com/laravel/laravel

  • Unzip the file in a Netbeans project

  • ,

-1

All Articles