Prism is a (FREE) command-line tool for initializing all tasks required for building a Laravel-based backend application. The tool performs various tasks, including database migration, seeding, creating models, routes, and controllers based on the database defined in the .env file.
To install Prism, follow these steps:
- Clone the repository or download the source code.
- Run
composer installto install the required dependencies. - Copy the
.env.examplefile and rename it to.env. Then, update the file with your database credentials. - Run the
php artisan prism:initcommand to initialize the backend.
To use Prism, run the following command:
Copy code
php artisan prism:init
This will initialize all the required tasks for building a Laravel-based backend, including database migration, seeding, creating models, routes, and controllers.
Prism uses the following configuration options:
$packages: An array of packages that the tool will check for and install if they are not already installed.
If you want to contribute to this project, feel free to submit a pull request or open an issue.
| Package List | Github |
|---|---|
| Krlove Eloquent-Model-Generator | https://github.com/krlove/eloquent-model-generator |
| kitloong Laravel-Migration-Generator | https://github.com/kitloong/laravel-migrations-generator |
| orangehill/iseed | https://github.com/orangehill/iseed |
This Prism is open-sourced software licensed under MIT license.