PHP code example of codersamer / eventual

1. Go to this page and download the library: Download codersamer/eventual 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/ */

    

codersamer / eventual example snippets



using Codersamer\Eventual\Facades\Eventual;
....
Eventual::onAction($name, function($argument1, $argument2){
	//Act to the Action
});


using Codersamer\Eventual\Facades\Eventual;
....
Eventual::onFilter($name, function($name){
	//Add Updates to the Argument if needed, then return it
	return $name;
});