PHP code example of happyoniens / hulk

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

    

happyoniens / hulk example snippets


Hulk\Hulk::set('name','value');

Hulk\Hulk::get('name');

Hulk\Hulk::path('foo/');

Hulk\Hulk::register('name', 'className', ['params']);

$class = Hulk\Hulk::name();

Hulk\Hulk::name()->myFunc();