AkrilliA / laravel-beyond

Create Laravel classes in a domain driven way (insired by Spatie Laravel Beyond CRUD)
ISC License
219 stars 24 forks source link

View models #59

Closed thewebartisan7 closed 2 years ago

thewebartisan7 commented 2 years ago

Added new command for create ViewModels class based on Spatie's package laravel-view-models.

alexanderkroneis commented 2 years ago

Thank you for your contribution. Please check that failed test.

thewebartisan7 commented 2 years ago

I have no idea why test fail... Do you have ?

I make new PR here https://github.com/regnerisch/laravel-beyond/pull/60

thewebartisan7 commented 2 years ago

The command "beyond:make:vm Admin/User/UserViewModel" should create file in "base_path() . '/src/App/Admin/User/ViewModels/UserViewModel.php'