php artisan make:widget 1

php artisan make:widget

php artisan make:widget WidgetName

Here is what the above code is Doing:
1. We are creating a new widget class called WidgetName.
2. We are extending the base widget class.
3. We are overriding the run method.
4. We are returning a string.

Similar Posts