PHP code example of concrete5 / fresh
1. Go to this page and download the library: Download concrete5/fresh 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/ */
concrete5 / fresh example snippets
// Override `fresh::cleaners.cleaner` config entry
$app['config']['fresh::cleaners.cleaner'] = new Class() extends \PortlandLabs\Fresh\Clean\Cleaner {
public function run()
{
$this->output->section('Custom Cleaner!');
}
};
return [
'cleaner' => '\PortlandLabs\FooBaz\CleanRoutine'
];