PHP code example of renegare / weblet-base
1. Go to this page and download the library: Download renegare/weblet-base 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/ */
renegare / weblet-base example snippets
// Example index.php
/**
* Pass the app name and configuration to the constructor
* - No errors are thrown if any yaml file does not exist
*/
$app = new Renegare\Weblet\Base('weblet',
__DIR__ . '/../app-constants.yml.dist',
__DIR__ . '/../app-constants.yml',
['app.root' => dirname(__DIR__)] //