CakePHP 3.2 Tutorials

Next: Bake Models with Cakephp UP: TOC

The CakePHP Cockpit is available for the System Adminstrator. It provides likes to logfiles, information about database tables, number of cache hits an so on. The cockpit will be available in a specific directory "admin" and secured by basic authentication.

Create a Controller File

Create a View

Add routes.php

Router::prefix('xadm', function ($routes) {
  $routes->connect('/:controller', ['action' => 'index'], ['routeClass' => 'InflectedRoute']);
});
code.....
Next: Bake Models with Cakephp UP: TOC