PHP code example of nox-it / yii2-nox-mvc
1. Go to this page and download the library: Download nox-it/yii2-nox-mvc 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/ */
nox-it / yii2-nox-mvc example snippets
class Model extends \nyx\mvc\base\Model
{
}
class ActiveRecordModel extends \nyx\mvc\base\ActiveRecord
{
}
class Controller extends \nyx\mvc\web\Controller
{
}
namespace frontend\components\web;
class View extends \nyx\mvc\web\View
{
}
'components' => [
'view' => [
'class' => 'frontend\components\web\View'
]
]