PHP code example of concretecms / fresh
1. Go to this page and download the library: Download concretecms/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/ */
concretecms / 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'
];