#laravel
Read more stories on Hashnode
Articles with this tag
Sync permissions from Policies directory, and add missing permissions to the permissions table. Create new command php artisan make:command...
class CurrentModel extends Model { public function relatedData() { return $this->hasOneThrough( RelatedDataModel::class, ...