Download the PHP package jdw5/artisan-assemble without Composer
On this page you can find all versions of the php package jdw5/artisan-assemble. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jdw5/artisan-assemble
More information about jdw5/artisan-assemble
Files in jdw5/artisan-assemble
Package artisan-assemble
Short Description Custom Laravel Artisan commands to reduce boilerplate
License mit
Informations about the package artisan-assemble
Artisan Assemble
Custom stubs and make commands for Laravel's artisan CLI.
Installation
Once installed, you should publish the configuration file to customise your stubs by publishing them. This is also required to change the default page/modal stubs to use your own components - and change from Vue to react.
In the published config/artisan-assemble.php file, you can select the file extension that should be used for your page/modal routes. By default, this is set to .vue but you can change this to whatever you require - just be sure to update the stubs accordingly.
Available Commands
make:endpoint {name}
This creates a new single action controller and request pair with opinionated namespacing.
Example usage:
This will create two files: App/Http/Controllers/User/Item/ItemStoreController.php and App/Http/Requests/User/Item/ItemStoreRequest.php.
You can pass additional options to endpoint command.
-por--pagewill additionally create a page at the given namespace.-mor--modalwill additionally create a modal at the given namespace.-for--formwill use the form variant of the page/modal component if they are specified
make:page {name}
This will create a new page using your specified or the default stub at the given namespace.
make:modal {name}
This will create a new modal using your specified or the default stub at the given namespace.
All versions of artisan-assemble with dependencies
illuminate/support Version >=10.0.0
illuminate/filesystem Version >=10.0.0
illuminate/console Version >=10.0.0