1. Go to this page and download the library: Download wenprise/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/ */
namespace Theme\Providers;
use Wenprise\Facades\Route;
use Wenprise\Foundation\ServiceProvider;
class RoutingService extends ServiceProvider {
public function register() {
Route::group( [
'namespace' => 'Theme\Controllers',
], function () {
namespace Theme\Controllers;
use Wenprise\Route\BaseController;
class AccountController extends BaseController {
/**
* User register controller
* @return string
*/
public function register() {
}
}