PHP code example of cherry-project / core

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

    

cherry-project / core example snippets




use Cherry\Routing\Router;

$kernel = new Cherry\Kernel(__DIR__);

$router = new Router();

$this->render('index');