1. Go to this page and download the library: Download samsonphp/event 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/ */
samsonphp / event example snippets
subscribe($key, $handler, $params = array())
unsubscribe($key, $identifier)
function fire($key, $params = array())
function signal($key, $params = array())
Event::fire('core.routing', array(&$url, $count))
fire($id, $params)
signal($id, $params)
subscribe($id, $params)
$key
$key
$key
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.