You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’ve made a package where there are a couple of difference solutions a user could run, or an artisan command that can take a couple of options. It would be great if they could press different buttons to run solution A or solution B or perhaps tick a checkbox to choose an option to send to an Artisan command. Obviously it needs to be kept simple as you don’t want to build an entire app generation platform.
In my case the package throws an exception when a named view can’t be found, there are a couple of choices they can make - create a view or create a class and override the view method that determines the blade to use. They can also make a view and class - everything follows naming conventions, the Artisan command allows the generate of both as an option.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I’ve made a package where there are a couple of difference solutions a user could run, or an artisan command that can take a couple of options. It would be great if they could press different buttons to run solution A or solution B or perhaps tick a checkbox to choose an option to send to an Artisan command. Obviously it needs to be kept simple as you don’t want to build an entire app generation platform.
In my case the package throws an exception when a named view can’t be found, there are a couple of choices they can make - create a view or create a class and override the view method that determines the blade to use. They can also make a view and class - everything follows naming conventions, the Artisan command allows the generate of both as an option.
Beta Was this translation helpful? Give feedback.
All reactions