Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New laravel project in netbeans

My friends helped me to install composer, laravel I have also downloaded some laravel projects through SVN. I just wanted to start my own another laravel project. After hours spent on reading about it I honestly do not understand how to create a new laravel project in netbeans. After clicking new project there is option of chosing framework like zend or symphony but my laravel is not there. Could someone advide me please?

EDIT: I can see a lot of views on this topic so I will just say that it is only necessary to install composer, do everything according to laravels manual and only open the project through netbeans, not create it there directly.

like image 276
divHelper11 Avatar asked Nov 17 '15 21:11

divHelper11


People also ask

Does Netbeans support Laravel?

Well the first step would be to install netbeans, make sure you pick the one for PHP. Then you can install laravel the usual way. Start netbeans and start a new php project with existing sources, from there it will kind of be self explanatory.


1 Answers

The above solution gave me a lot of errors and eventually I gave up, I've found a much cleaner way to setup a minimal Laravel application by using a seed project.

Tested in Netbeans 8.2 (I think it should work on all 8 versions).

  1. Install Composer on your system
  2. Installer the Composer plugin for Netbeans (It's in the plugins menu, under the PHP category).
  3. New Project > PHP Application
  4. Go though the wizard, and setup your project. the last step should be named Composer
  5. In the last step, search (under Token:) for laravel
  6. Select laravel/laravel: The Laravel Framework. and move it to the selected frameworks on the right
  7. Click Finish, and you're Done!

    enter image description here

like image 60
svarog Avatar answered Sep 25 '22 00:09

svarog