PHP code example of laravelista / ekko

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

    

laravelista / 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"