tkusa / lawn
Laravel package to make a ground cover of your project
v1.0.0
2021-11-28 12:45 UTC
Requires
- php: ^7.3|^8.0
- laravel/framework: ^8.65
README
Lawn is a Ground Cover
Lawn is a laravel package which supports your CRUD application developement.
You can generate base classes by defining entities in config file:
Generatable classes
- Controllers
- Models
- Migrations
- Factories
- Seeders
- Routes
- Views
- Tests
How to Use
-
Require this package in your project
-
Edit config file
php artisan vendor:publish --tag="lawn-config"
Now you have "lawn.php" at config dir.
Define entities here. -
Run build command
php artisan lawn:build
-
Publish generated files
php artisan vendor:publish --tag="lawn-build"
You can find generated files in your project.
License
Lawn is open-sourced software licensed under the MIT license.
TODO
- Improve Tests
- Make validation for config
- Check views
- Improve designs
- Register routes
- Relationship