tkusa/lawn

Laravel package to make a ground cover of your project

v1.0.0 2021-11-28 12:45 UTC

This package is auto-updated.

Last update: 2025-06-28 21:17:43 UTC


README

Latest Stable Version License

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

  1. Require this package in your project

  2. Edit config file
    php artisan vendor:publish --tag="lawn-config"
    Now you have "lawn.php" at config dir.
    Define entities here.

  3. Run build command
    php artisan lawn:build

  4. 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