Download the PHP package developeroncall/larateme without Composer
On this page you can find all versions of the php package developeroncall/larateme. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download developeroncall/larateme
More information about developeroncall/larateme
Files in developeroncall/larateme
Package larateme
Short Description A Bootstrap 4 Laravel Boilerplate on steroids
License MIT
Informations about the package larateme
Laravel Larateme Template
A full featured admin panel for 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] Overriding the default views
- Bootstrap Components
1. Introduction
This package depend on other packages under the hood, these packages are:
2. Installation
You can install larateme
using composer cli by running:
Then run the following command to adding the template assets to your project.
4. Configuration
After install two configuration files will be published config/larateme.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 larateme elements.
1. Main Layout
This is the main Think of the main layout as a container for including your content within larateme header and sidebar. The following is an example of using the larateme::layout.main
:
Note: the content will be wrapped automatically within
<div class="main-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.The page component is responsible for displaying the flash messages.
The BREADCRUMB_NAME is the name of your defined breadcrumb in
routes/breadcrumbs.php
file.
Example with sending data to breadcrmbs:
3. Card Component
The card component is a wrapper bootstrap card. 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 larateme 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 bootstrap info box Example usage:
Or:
6. [Optional] Overriding 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/larateme
.
Note: If you publish the package views it will not automatically use any future updates and bug fixes.
I will be creating components for custom elements and will update this package as time permits
7. Bootstrap 4 Components - rendered within blade templates
I have added the Bootstap4 HTML Builder to make generating standard Bootstrap components simple.
This is a standard Jumbotron element
For details on using this package please visit documentation
All versions of larateme with dependencies
illuminate/support Version 5.*
laracasts/flash Version ^3.0
davejamesmiller/laravel-breadcrumbs Version ^5.0
marvinlabs/laravel-html-bootstrap-4 Version ^1.0