reliese / laravel

Reliese Laravel Model Generator
MIT License
1.49k stars 316 forks source link

Better implementation for `base_files` #303

Open bilogic opened 3 weeks ago

bilogic commented 3 weeks ago

The base_files is great, I have a few suggestions to add on:

  1. Make the base model classes abstract so that no one can accidentally use it ~2. Append Base to the classname, e.g. App\Models\Base\ExampleBase.php~ ~3. Create the App\Models\Example model if it does not exists and have it extend from Base\ExampleBase~

Seems 2 and 3 already happening.