Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save tillsanders/57f4a9dfc15a43744c75 to your computer and use it in GitHub Desktop.
Save tillsanders/57f4a9dfc15a43744c75 to your computer and use it in GitHub Desktop.
Administration Panel Boilerplate for Laravel

Administration Panel Boilerplate for Laravel (4)

I tried about every CMS there is. And I disliked most of them. There were only a handful that weren't a complete waste of time:

  • Contao (free and powerful, but the backend is ugly),
  • Kirby (nice and powerful, but paid),
  • Perch (powerful and good support, but ugly backend, paid, and complicated at times) and
  • Grav (beautiful, powerful and free, but not stable enough and a strange concept about pages).

At the end of the day, I still find myself building backends for every single project. There are some Laravel Admin Panels, but they are far from sexy or come with too much features. The aim of this gist, is to provide a basic boilerplate for all types of backends. Login > CRUD > Logout. Thats it. In most cases, this is all I need. So let's get started:

This gist is based on Laravel 4. I am eager to move on to Laravel 5 as soon as possible.

Routing (routes.php)

Routing is simple, as we are using Implicit Controllers:

Route::controller('admin', 'AdminController');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment