Skip to content

AdminLTE Maker helps you create controllers and templates boostraped for AdminLTE theme bundle

License

Notifications You must be signed in to change notification settings

pretorien/adminlte-maker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AdminLTEMaker bundle for Symfony 4 & 5

This repository contains AdminLTEMaker bundle which helps you create controller skeletons and templates based on AdminLTE bundle and DataTables bundle.

Minimum requirements

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.

About

AdminLTE Maker helps you create controllers and templates boostraped for AdminLTE theme bundle

Resources

License

Stars

Watchers

Forks

Packages

No packages published