PHP code example of genproframework / skeleton
1. Go to this page and download the library: Download genproframework/skeleton 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/ */
genproframework / skeleton example snippets
// src/application/backend/modules/home/controller.php
class HomeController extends \GenProFramework\Abstracts\ControllerAbstract
{
public function index()
{
$this->assign('title', 'Welcome');
$this->show('index', true);
}
}