Download the PHP package fbnkcmaster/appskeleton-for-laravel without Composer
On this page you can find all versions of the php package fbnkcmaster/appskeleton-for-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fbnkcmaster/appskeleton-for-laravel
More information about fbnkcmaster/appskeleton-for-laravel
Files in fbnkcmaster/appskeleton-for-laravel
Package appskeleton-for-laravel
Short Description Custom artisan command for Laravel 5 to help speed up you web app development
License MIT
Informations about the package appskeleton-for-laravel
AppSkeleton-for-Laravel
AppSkeleton for Laravel is a custom artisan command that helps you speed up your application development by generating a ready structure (based on a json file) of files and direcories you'll need for your app
Requirements
- (Optional) If you need an advanced option to create migrations with schemas, you'll need to install laracasts/generators (by Jeffrey Way). If you use Composer to install this package, it's done automatically and you have to add its service provider in app/Providers/AppServiceProvider.php
Usage
Step 1: Install Through Composer
Step 2: Register the command
This is done within the app/Console/Kernel.php
file, like so:
-
If you download and install it manually then you have to set the path/to/AppSkeleton/AppSkeletonCommand::class to register the command within the
app/Console/Kernel.php
file, like so: -
Optional
You will need to install Jeffrey Way's laracasts/generators for more advanced option with migrations.
Then add its service provider in app/Providers/AppServiceProvider.php, like so:
Step 3: That's all!
You're ready now. Run php artisan
from the console, and you'll see the new command make:appskeleton
in the make:*
namespace section.
Examples
Example of a json file
Put the json file whereever you can access it from the artisan command
Run commands
Generate everything in the json file (where AppSkeleton.json in the root of your Laravel application)
You can specify the path to your json file
Genereate just Controllers and Views
Backup what was generated
Delete what was generated
Force delete generated files and directories even the backups