Just added my first action and getting a issue with missing namespace #62
-
Hi, I just generated my first action into my project. But I got |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi Oliwer, By default, the package generates actions based on the Same applies to data transfer objects, which rely on the I ought to make the documentation clearer on this, as you'd have to read the comment blocks inside the config section of the readme to notice these comments. I will make a note to update the readme. |
Beta Was this translation helpful? Give feedback.
Hi Oliwer,
By default, the package generates actions based on the
lorisleiva/laravel-actions
package, which means you need to have that package installed: https://github.com/lorisleiva/laravel-actions - if you don't want to use that package and roll your own, then you'd have to publish the stubs and customizestubs/action.php.stub
accordingly.Same applies to data transfer objects, which rely on the
spatie/laravel-data
peer dependency unless you customize theddd.base_dto
otherwise.I…