PHP code example of enrise / frisbee
1. Go to this page and download the library: Download enrise/frisbee 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/ */
enrise / frisbee example snippets
throw new \Frisbee\Application('myApp');
if (!isset($this->resources['template'])) {
throw new TemplateFetcher('template', $this);
}
$ php -S localhost:8080 dev/router.php