laravel-beyond
laravel-beyond copied to clipboard
v7.0.0-beta.x feedback
- [x] Missing
beyond:make:migrationcommand - [x] The given module "Auth}" does not exists. Did you run
php artisan beyond:make:module Auth? - [x] Module can not be
--forceoverwritten - [x] #94
- [x]
Illuminate\Contracts\Validation\Rule;is deprecated useIlluminate\Contracts\Validation\ValidationRule;
- [x] Set
--minimalas default onbeyond:make:module - [x] Fix missing space on
info:Action[modules/User/Domain/Actions/UserDestroyAction.php] created successfully. - [x] Add autoregister for module service providers
- [x] Add alias command for
beyond:make:dto->beyond:make:data
- [x] Set
--minimalas default onbeyond:make:module- [x] Fix missing space on
info:Action[modules/User/Domain/Actions/UserDestroyAction.php] created successfully.- [ ] Add autoregister for module service providers
- [x] Add alias command for
beyond:make:dto->beyond:make:data
Why not replace beyond:make:dto by beyond:make:data? Since we are releasing a major version anyways and it's not breaking any existing code only how a Data Object would be created.
I replaced the default beyond:make:dto with beyond:make:data but added an alias beyond:make:dto. See https://github.com/AkrilliA/laravel-beyond/blob/84b4da223a555092a5ff550b8e9a910ee6a1c08d/src/Commands/MakeDataTransferObjectCommand.php#L12
With aliases we could also create short aliases for beyond: commands, e.g. b:m:model
🫡 Good job man.
- [x] Missing return type
arrayinresource.stub
Some issues I had:
- The
beyond:make:moduleis missing in the docs and the--fulloption does not explain what it does. - It would be nice to automatically place a .gitkeep folder in each directory when generating a module via
--fullas it would not be tracked in version control otherwise. - Missing test generation commands
--fullcreates all possible directories. (Yes docs should be provided)- We should discuss this, as i prefer removing empty directories from my version control.
- As always: Feel free to add the command :)
- [x] Add MakeTestCommand
@Wulfheart, Test generation is now supported: php artisan beyond:make:test User.UserTest
- [ ] Command for Scopes
- [x] Migrate to Laravel Prompts
Closed as we again changed how v7 will work. We try to release v7 next month.