Laravel | Arch |
---|---|
5.8.x | 1.1.x |
6.x | 2.x |
$ composer create-project nasrulhazim/arch project-name --prefer-dist
Reload all caches:
$ php artisan reload:cache
Reload database and seed:
$ php artisan reload:db
Seed development data:
$ php artisan seed:dev
Create transformer class:
$ php artisan make:transformer UserTransformer Models\\User
Create datatable class:
$ php artisan make:dt UserDt Models\\User Datatable\\UserTransformer
Currently there is only one command available arch:page
which create necessary model, migration, factory, seeder, controller for web and API, setting up routes for API, web, datatable and breadcrumb and create all main views - index, show, create, edit and partis/actions.
You just need to run following command to create a page.
You may want to check and update generated files to meet the common practice.
$ php artisan arch:page Module
Contributions can be made to the Arch's respective component repositories:
If you discover a security vulnerability within Arch, please send an e-mail to [email protected]. All security vulnerabilities will be promptly addressed.
- The Laravel PHP Framework is open-sourced software licensed under the MIT license by Taylor Otwell.
- The Arch is open-sourced software licensed under the MIT license.