jorgecaso / adminltebundle
AdminLTE integration to Symfony projects.
Package info
github.com/JorgeCaso/AdminlteBundle
Language:HTML
pkg:composer/jorgecaso/adminltebundle
v1.0.3
2016-12-03 14:12 UTC
Requires
- php: ^5.3.3 || ^7.0
- almasaeed2010/adminlte: ~2.0
This package is not auto-updated.
Last update: 2026-03-15 03:51:07 UTC
README
AdminlteBundle is a component that allows easy integration to Symfony projects.
Requirements
- AdminLTE 2 - almsaeedstudio.
- Symfony 2.x or 3.x applications.
Installation
Step 1: Download the Bundle
$ composer require jorgecaso/adminltebundle
Use Composer installed globally, as explained in the Composer documentation.
Step 2: Enable the Bundle
<?php // app/AppKernel.php // ... class AppKernel extends Kernel { public function registerBundles() { $bundles = array( // ... new Jorgecaso\AdminlteBundle\JorgecasoAdminlteBundle(), ); } // ... }
Example
Modify the app/Resources/views/base.html.twig file and replace the content with:
{% extends "JorgecasoAdminlteBundle:Layout:dashboard.html.twig" %}
{% block body %}
{% endblock %}
Insert the desired content into body tag. It's all. (Tip: Review the AdminLTE documentation :) .)
License
This software is published under the MIT License