PHP code example of adjai / backender
1. Go to this page and download the library: Download adjai/backender 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/ */
adjai / backender example snippets
php vendor/adjai/backender/install.php
$backend = new \adjai\backender\core\Backender();
TestController.php
namespace app\controllers;
class TestController extends \adjai\backender\core\Controller {
public function actionDo() {
die('do action');
}
}
php PATH_TO_INDEX/index.php /backend/CONTROLLER/METHOD/