PHP code example of daltcore / ekko

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

    

daltcore / ekko example snippets


$ekko = new Ekko;
$ekko->setDefaultValue('highlight');
return $ekko->isActive('/');



return [
    'default_output' => 'highlight'
];

'providers' => [
    ...,
    Laravelista\Ekko\Frameworks\Laravel\ServiceProvider::class
];

'aliases' => [
    ...,
    'Ekko' => Laravelista\Ekko\Frameworks\Laravel\Facade::class
];

php artisan vendor:publish --provider="Laravelista\Ekko\Frameworks\Laravel\ServiceProvider"