PHP code example of ramizasoft / prism

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

    

ramizasoft / prism example snippets




use Prism\Core\Listeners\BuildValidator;
use Prism\Core\Listeners\ThemeInjector;
use Prism\Core\Listeners\TemplateLoader;

/** @var \TightenCo\Jigsaw\Events\EventBus $events */
$events->beforeBuild([
    BuildValidator::class,
    ThemeInjector::class,
    TemplateLoader::class,
]);