├── .gitignore ├── README.md ├── app ├── Controllers │ ├── ApiController.php │ └── DefaultController.php ├── Handlers │ └── CustomExceptionHandler.php ├── Middlewares │ ├── ApiVerification.php │ └── CsrfVerifier.php └── helpers.php ├── composer.json ├── composer.lock ├── public ├── .htaccess └── index.php └── routes └── web.php /.gitignore: -------------------------------------------------------------------------------- 1 | vendor 2 | .idea/ -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skipperbent/simple-router-demo/HEAD/README.md -------------------------------------------------------------------------------- /app/Controllers/ApiController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skipperbent/simple-router-demo/HEAD/app/Controllers/ApiController.php -------------------------------------------------------------------------------- /app/Controllers/DefaultController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skipperbent/simple-router-demo/HEAD/app/Controllers/DefaultController.php -------------------------------------------------------------------------------- /app/Handlers/CustomExceptionHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skipperbent/simple-router-demo/HEAD/app/Handlers/CustomExceptionHandler.php -------------------------------------------------------------------------------- /app/Middlewares/ApiVerification.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skipperbent/simple-router-demo/HEAD/app/Middlewares/ApiVerification.php -------------------------------------------------------------------------------- /app/Middlewares/CsrfVerifier.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skipperbent/simple-router-demo/HEAD/app/Middlewares/CsrfVerifier.php -------------------------------------------------------------------------------- /app/helpers.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skipperbent/simple-router-demo/HEAD/app/helpers.php -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skipperbent/simple-router-demo/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skipperbent/simple-router-demo/HEAD/composer.lock -------------------------------------------------------------------------------- /public/.htaccess: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skipperbent/simple-router-demo/HEAD/public/.htaccess -------------------------------------------------------------------------------- /public/index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skipperbent/simple-router-demo/HEAD/public/index.php -------------------------------------------------------------------------------- /routes/web.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skipperbent/simple-router-demo/HEAD/routes/web.php --------------------------------------------------------------------------------