# Main Laravel Commands
# Model
You can create a Model using:
php artisan d:make:model Release -d Releases
# Cast
You can create a Cast using:
php artisan d:make:cast ReleaseDateCast -d Releases
# Observer
You can create an Observer using:
php artisan d:make:observer ReleaseObserver --model=Release -d Releases
# Scope
You can create a Scope using:
php artisan d:make:scope CountryScope -d Releases
# Exception
You can create an Exception using:
php artisan d:make:exception NoTitleException -d Releases
# Policy
You can create a Policy using:
php artisan d:make:policy CanAddBarcodePolicy --model=Release -d Releases
# Controller
You can create a Controller using:
php artisan d:make:controller ReleaseController -d Releases
Or with Model
php artisan d:make:controller ReleaseController -r --model=Release -d Releases
# Api Resource
You can create an Api Resource using:
php artisan d:make:resource ReleaseResource -d Releases
# Request
You can create a Request using:
php artisan d:make:request StoreReleaseRequest -d Releases
# Rule
You can create a Policy using:
php artisan d:make:rule CustomTitleRule -d Releases
# Middleware
You can create a Middleware using:
d:make:middleware ReleaseUpdateMiddleware -d Releases
# Event
You can create an Event using:
php artisan d:make:event StoreRelease -d Releases
# Listener
You can create a Listener using:
php artisan d:make:listener StoreReleaseNotification --event=StoreRelease -d Releases
# Channel
You can create a Channel using:
php artisan d:make:channel ReleaseChannel -d Releases
# Job
You can create a Job using:
php artisan d:make:job SetReleaseBarcodeJob -d Releases
You can create a Mail using:
php artisan d:make:mail ReleaseAccpetedMail -m -d Releases
# Notification
You can create a Notification using:
php artisan d:make:notification ReleaseDistributedNotification -m -d Releases