Download the PHP package cleaniquecoders/artisan-extended without Composer
On this page you can find all versions of the php package cleaniquecoders/artisan-extended. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download cleaniquecoders/artisan-extended
More information about cleaniquecoders/artisan-extended
Files in cleaniquecoders/artisan-extended
Package artisan-extended
Short Description Laravel Artisan Extended Commands
License MIT
Informations about the package artisan-extended
Laravel Artisan Extended
Installation
Register Service Provider
Open up config/app.php
and register CleaniqueCoders\ArtisanExtended\ArtisanExtendedServiceProvider::class,
in providers
key.
Publishing Reusable Components and Layouts
Run following command to publish reusable components:
p/s: Scaffold / Resourceful views require reusable components, hence you need to publish the artisan-extended-views
.
Important Notes
On production, only php artisan clear:cache
available for use, other than that if your application running on local
or staging
, all the Artisan Extended commands available for you on artisan console.
Available Commands
Create a New Scaffold
You may create single or multiple Model at one time.
OR
p/s: Please take note that, for now you still need to update the model $fillable
property, ModelFactory.php
and model's migration scripts.
Clear All Caches
Clear All Caches and Serve the Application
In case you need to run at different port:
Create a New Route
Options available:
-a
- Create a new route for API-p
- Set prefix for the route-m
- Set middleware for the route. Each middleware separated by comma(,)-r
- Create a new resourceful controller
Create an API Route
Create an API Route with Version
Create an API Route with Version and Middlewares
Create a new View
Generate a view extending default layout, app
.
Generate a new admin
's dashboard
with layouts of admin
.
Generate a resourceful view, by passing a -r
option and ommit the specific blade files.
This command will create a directory named users
in resources/views
. There will be:
index.blade.php
,show.blade.php
andform.blade.php
.
You may want to create a resourceful controller by running php artisan make:resourceful UserController
.
Create Event & Listener
Secure your Cookies
This command only for the new project only, as this command will change the default value of the cookie
name to random string and set encrypt
to true. It's recommended to change your application's cookie name and encrypt it.
All versions of artisan-extended with dependencies
illuminate/support Version 5.3.*
laracasts/flash Version ^2.0
santigarcor/laratrust Version 3.0.*