Download the PHP package ahmed-aliraqi/laravel-adminlte without Composer
On this page you can find all versions of the php package ahmed-aliraqi/laravel-adminlte. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ahmed-aliraqi/laravel-adminlte
More information about ahmed-aliraqi/laravel-adminlte
Files in ahmed-aliraqi/laravel-adminlte
Package laravel-adminlte
Short Description An easy way to integrate AdminLTE into your laravel applications.
License MIT
Informations about the package laravel-adminlte
Laravel AdminLte Package (RTL - LTR)
An easy way to integrate AdminLTE into your laravel applications.
- Introduction
- Installation
- Overriding Laravel Authentication Views
- Configuration
- Blade Templates (Layout, Component and Partial Views)
- Main Layout
- Page Component
- Box Component
- Table Box Component
- Info Box Component
- [Optional] Overrriding the default views
- Supported Plugins
1. Introduction
This package depend on other packages under the hood, these packages are:
2. Installation
You can install laravel-adminlte
using composer cli by running:
Then run the following command to adding the template assets to your project.
4. Configuration
After publish the configuration files in step 1 a two configuration files will be published config/adminlte.php
and config/breadcrumbs.php
.
You can take a look at Laravel Breadcrumbs Documentation for the configuration details about config/breadscrumbs.php
file.
5. Blade Templates (Layout, Component and Partial Views)
This package include a layout and components that wraps the most of adminlte elements. It is recommended to read more about layouts in AdminLTE documentation.
1. Main Layout
This is the main Think of the main layout as a container for including your content within adminlte header and sidebar. The following is an example of using the adminlte::layout.main
:
Note: the content will be wrapped automatically within
<div class="content-wrapper"></div>
.
2. Page Component
The page component is a container for your content that contain <section class="content-header"></section>
for holding title and breadcrumbs and <section class="content"></section>
for holding the page content.
Example:
Notes:
The options
sub_title
andbreadcrumb
are optional.If you want to generate 'breadcrumb' file you should use
make:breadcrumb
command.You should include
routes/breadcrumbs/articles.php
inroutes/breadcrumbs.php
file or include all files inroutes/breadcrumbs
directoryThe page component is responsible for displaying the flash messages.
The BREADCRMB_NAME is the name of your defined breadcrumb in
routes/breadcrumbs.php
file.
Example with sending data to breadcrmbs:
3. Box Component
The box component is a wrapper for AdminLTE box. Example code:
A more advanced example:
Note: the supported styles are
default
,primary
,info
,warning
,success
anddanger
.
4. Table Box Component
The table box component can be used to put a table directly within an adminlte box component. Example usage:
Note:
The component will automatically render the pagination links.
You don't need to handle empty collection by yourself, the view will display a helpful message if the collection is empty.
5. Info Box
The info box component is a wrapper for AdminLTE Info Box. Example usage:
Or:
6. [Optional] Overrriding the default views
You are free to modify the package views, If you wish you can run the following command:
Now, you can edit the views in resources/views/vendor/adminlte
.
Note: It is NOT RECOMMENDED to publish the package views because it will mute any future updates and bugfixes. So do not publish the views unless you know what you are doing.
7. Supported Plugins
-
select2
-
daterangepicker
-
datepicker
-
iCheck
-
colorpicker
- timepicker
All versions of laravel-adminlte with dependencies
illuminate/support Version ~5.6|^6.0
illuminate/console Version ~5.6|^6.0
laracasts/flash Version ^3.0
davejamesmiller/laravel-breadcrumbs Version ^5.3