PHP code example of illusiard / yii2-base-entity-system

1. Go to this page and download the library: Download illusiard/yii2-base-entity-system library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

illusiard / yii2-base-entity-system example snippets


$hub->on($eventName, $callback);
$hub->off($eventName, $callback);
$hub->trigger($eventName, $payload);