PHP code example of murilochianfa / laravel-ioncube-helper

1. Go to this page and download the library: Download murilochianfa/laravel-ioncube-helper 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/ */

    

murilochianfa / laravel-ioncube-helper example snippets




namespace App\Services;

use MuriloChianfa\LaravelIoncubeHelper\LicenseService as License;

final readonly class LicenseService extends License
{
    const LICENSE_PATH = '/path/to/license/license.txt';
}



namespace App\Services;

use MuriloChianfa\LaravelIoncubeHelper\LicenseService as License;

final readonly class LicenseService extends License
{
    const LICENSE_PATH = '/path/to/license/license.txt';

    public static function modules(): array
    {
        $modules = self::getProperty('Modules');
        return explode(',', $modules);
    }
}
bash
php artisan vendor:publish --provider="MuriloChianfa\LaravelIoncubeHelper\IoncubeHelperServiceProvider"