pretorien / adminlte-maker
AdminLTE Maker helps you create controllers and templates boostraped for AdminLTE theme bundle
Installs: 745
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 2
Open Issues: 3
Type:symfony-bundle
Requires
- php: ^7.1.3
- doctrine/annotations: ^1.0
- doctrine/common: ^2.0
- kevinpapst/adminlte-bundle: ^3.0
- omines/datatables-bundle: ^0.3|^0.4
- sensio/framework-extra-bundle: >4.0
- symfony/config: >4.0
- symfony/console: >4.0
- symfony/form: >4.0
- symfony/http-kernel: >4.0
- symfony/maker-bundle: >1.0
- symfony/routing: >4.0
- symfony/security-bundle: >4.0
- symfony/translation: >4.0
- symfony/twig-bundle: >4.0
- symfony/validator: >4.0
This package is auto-updated.
Last update: 2025-03-05 17:15:30 UTC
README
This repository contains AdminLTEMaker bundle which helps you create controller skeletons and templates based on AdminLTE bundle and DataTables bundle.
Minimum requirements
- Symfony 4.0
- PHP 7.1.3
- Twig 2.0
- AdminLTE bundle
- DataTables bundle
Installation with Composer
Installation using composer :
composer require pretorien/adminlte-maker
Then, enable the bundle by adding it to the list of registered bundles in the config/bundles.php
file of your project:
<?php return [ // ... Pretorien\AdminLTEMakerBundle\AdminLTEMakerBundle::class => ['all' => true], ];
Usage
This bundle provides several commands under the make: namespace. List them all executing this command:
php bin/console list make:adminlte
make:adminlte:controller Creates a new controller class
make:adminlte:crud Creates AdminLTE CRUD for Doctrine entity class
Configuration
This bundle doesn't require any configuration. But, you can configure the base layout and several parameters :
php bin/console config:dump admin_lte_maker admin_lte_maker: base_layout: '@AdminLTE/layout/default-layout.html.twig' skeleton_dir: .../src/DependencyInjection/../Resources/skeleton/ datatable: cdn_css: 'https://cdn.datatables.net/v/dt/jq-3.2.1/dt-1.10.16/datatables.min.css' cdn_js: 'https://cdn.datatables.net/v/dt/jq-3.2.1/dt-1.10.16/datatables.min.js'
License and contributors
Published under the MIT, read the LICENSE file for more information.