arch
arch copied to clipboard
Arch is a pre-build admin panel for web application.
Arch
Table of Content
- Version Compatibility
- Quick Installation
- Contributing to the Arch
- Security
- License
Version Compatibility
| Laravel | Arch |
|---|---|
| 5.8.x | 1.1.x |
| 6.x | 2.x |
| 7.x | 3.x |
Quick Installation
$ composer create-project nasrulhazim/arch project-name --prefer-dist
Navigate to project-name and duplicate .env.example to .env. Update your configuration then run the following command:
$ bin/install
This will install all the Arch dependencies - backend and frontend, and also setup migration & seeders.
Development
Following are the commands available for your development:
Bash Scripts
Arch come with numbers of bash scripts, to simplify development tasks. This scripts only works in Linux environment:
Following are the available bash scripts:
bin/changelog- Create changelog file based on give date range.bin/clear-cache- Clear all related caches available in the Arch.bin/csfix- Apply PHP CS Fixer and commit.bin/install- Install Arch.bin/reload-db- Recache & reload database.bin/serve- Setup Valet link, secure the domain and open the domain.bin/update-dependencies- Runcomposer updateand commit if any changes.
Arch Page
Is a command 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
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
Contributing to the Arch
Contributions can be made to the Arch's respective component repositories:
Security Vulnerabilities
If you discover a security vulnerability within Arch, please send an e-mail to [email protected]. All security vulnerabilities will be promptly addressed.
License
- 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.