ksarien / laravel-starter

Command to generate all the necessary files for laravel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laravel 4.0 Starter Command

Automatically generates the files you need to get up and running. Generates a default layout, sets up bootstrap or foundation, prompts for javascript files (options are ember, angular, backbone, underscore, and jquery), creates model, controller, and views, runs migration, updates routes, and seeds your new table with mock data - all in one command.

Installation

Begin by installing this package through Composer. Edit your project's composer.json file to require ourlearn/laravel-starter as well as laravelbook/ardent (optional - great for easier validation)

"require": {
	"laravel/framework": "4.0.*",
	"laravelbook/ardent": "dev-master",
	"ourlearn/laravel-starter": "dev-master"
}

Next, update Composer from the Terminal:

composer update

Once this operation completes, the final step is to add the service provider. Open app/config/app.php, and add a new item to the providers array.

'Ourlearn\LaravelStarter\LaravelStarterServiceProvider'

That's it! You're all set to go. Run the artisan command from the Terminal to see the new start command.

php artisan

Usage

Run php artisan start and the guided setup will help you with the rest!

Additional Notes

This is a very opinionated package and it is still being developed.

About

Command to generate all the necessary files for laravel