alesf
Follow
Pinned Loading
-
homebridge-arso
homebridge-arso PublicHomebridge plugin for Slovenian weather data (ARSO)
JavaScript 2
-
homebridge-http-air-quality
homebridge-http-air-quality PublicHTTP Air quality accessory for Homebridge
-
php-epp-client
php-epp-client PublicForked from metaregistrar/php-epp-client
Object-oriented PHP EPP Client
PHP
-
cashier-authorize
cashier-authorize PublicForked from shahidkarimi/cashier-authorize
Authorize.net payment module for Laravel
PHP
-
Laravel - Eloquent: Cascading delete...
Laravel - Eloquent: Cascading delete, forceDelete and restore 1If you want to delete a model with related models you can use **Laravel model events**. There is also a special case if your models cascade.
23Lets say you have Folder and File Eloquent models that are related and use SoftDeletes trait and when you delete a folder you also want to delete files in folder and all subfolders with files.
45In the `boot` method or Folder model you catch `delete` and `restore` events (actually `deleting` and `restoring` events that trigger before restoring or deleting happens). You can delete/restore all files in folder you're deleting/restoring with `$folder->files()->delete();` and `$folder->files()->withTrashed()->restore();`.
-
PAMI
PAMI PublicForked from marcelog/PAMI
PHP Asterisk Manager Interface ( AMI ) supports synchronous command ( action )/ responses and asynchronous events using the pattern observer-listener. Supports commands with responses with multiple…
PHP
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.