bonsaicms / metamodel-eloquent
Metamodel Eloquent for Bonsai CMS
dev-master
2022-02-25 17:12 UTC
Requires
- php: ^8.0.2
- bonsaicms/metamodel: dev-master
- bonsaicms/support: dev-master
- laravel/framework: ^9.0
Requires (Dev)
- orchestra/testbench: ^7.0
- pestphp/pest: ^1.21
This package is auto-updated.
Last update: 2024-12-06 18:03:47 UTC
README
Installation
You can install the package via composer:
composer require bonsaicms/metamodel-eloquent
Configuration
You can publish the config file with:
php artisan vendor:publish --tag="bonsaicms-metamodel-eloquent-config"
This is the contents of the published config file:
return [
];
Customizing Stubs
You can publish stub files with:
php artisan vendor:publish --tag="bonsaicms-metamodel-eloquent-stubs"
Then, you can edit stub files in resources/stubs/metamodel-eloquent/
folder.
Commands
Generate missing models:
php artisan metamodel:generate-models
Regenerate all models:
php artisan metamodel:regenerate-models
Delete all generated models:
php artisan metamodel:delete-models
Testing
composer test
License
The MIT License (MIT). Please see License File for more information.