jorgecaso / adminltebundle
AdminLTE integration to Symfony projects.
Installs: 54
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Language:HTML
Requires
- php: ^5.3.3 || ^7.0
- almasaeed2010/adminlte: ~2.0
This package is not auto-updated.
Last update: 2025-04-26 23:31:26 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