Skip to content

Instantly share code, notes, and snippets.

@bravo-kernel
Last active August 29, 2015 14:14
Show Gist options
  • Save bravo-kernel/b549156fc1ed157be854 to your computer and use it in GitHub Desktop.
Save bravo-kernel/b549156fc1ed157be854 to your computer and use it in GitHub Desktop.
Absolute minimal version of a CRUD controller (using the API Listener)
<?php
namespace App\Controller;
/**
* Leanest possible API Controller using friendsofcake/CRUD plugin
*/
class UsersController extends AppController
{
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment