Skip to content
Avatar

Achievements

Achievements

Block or Report

Block or report alesf

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned

  1. Homebridge plugin for Slovenian weather data (ARSO)

    JavaScript

  2. HTTP Air quality accessory for Homebridge

    JavaScript

  3. Forked from metaregistrar/php-epp-client

    Object-oriented PHP EPP Client

    PHP

  4. Forked from shahidkarimi/cashier-authorize

    Authorize.net payment module for Laravel

    PHP

  5. 1
    If 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.
    2
    
                  
    3
    Lets 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.
    4
    
                  
    5
    In 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();`.
  6. PAMI Public

    Forked 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

58 contributions in the last year

Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul Aug Sep Mon Wed Fri
Activity overview

Contribution activity

September 2021

alesf has no activity yet for this period.

Seeing something unexpected? Take a look at the GitHub profile guide.