All Projects → kossa → laralte2

kossa / laralte2

Licence: other
LaraLTE2, Laravel PHP Framework with AdminLTE2

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to laralte2

Yii2 Cms
An enterprise application based on yii2 basic template
Stars: ✭ 188 (+652%)
Mutual labels:  adminlte
Laravel Admin Starter
A Laravel Admin Starter project with Page Builder, Roles, Impersonation, Analytics, Blog, News, Banners, FAQ, Testimonials and more
Stars: ✭ 240 (+860%)
Mutual labels:  adminlte
Codeigniter-4-CRUD-generator
ADEL CCG is an easy open-source intuitive web app to create AdminLTE4 -Bootstrap 5- dashboards with CRUD operations in php.
Stars: ✭ 87 (+248%)
Mutual labels:  adminlte
Yii2 Tech
Yii2 通用后台管理系统
Stars: ✭ 193 (+672%)
Mutual labels:  adminlte
Laravel Adminlte
Easy AdminLTE integration with Laravel
Stars: ✭ 2,990 (+11860%)
Mutual labels:  adminlte
boilerplate
Laravel AdminLTE 3 Boilerplate package with blade components, users, roles and permissions management
Stars: ✭ 167 (+568%)
Mutual labels:  adminlte
Falcon
基于 Vue2 和 AdminLTE 的移动客户端 CI 平台(前端)
Stars: ✭ 171 (+584%)
Mutual labels:  adminlte
ygdashboard
A modified shinydashboard to incorporate more functionality from adminLTE
Stars: ✭ 39 (+56%)
Mutual labels:  adminlte
Copilot
Responsive Bootstrap 3 Admin Template based on AdminLTE with vue.js
Stars: ✭ 2,698 (+10692%)
Mutual labels:  adminlte
admin-lte-dotnet
AdminLTE v3 for MVC Core, Razor Pages and Tag Helpers
Stars: ✭ 96 (+284%)
Mutual labels:  adminlte
Pi.alert
WIFI / LAN intruder detector. Check the devices connected and alert you with unknown devices. It also warns of the disconnection of "always connected" devices
Stars: ✭ 209 (+736%)
Mutual labels:  adminlte
Appy
🚀 A full stack boilerplate web app
Stars: ✭ 225 (+800%)
Mutual labels:  adminlte
adminlte-3-angular
Angular 15.0.1 start-up project with AdminLTE 3.2.0 template
Stars: ✭ 167 (+568%)
Mutual labels:  adminlte
Adminlte Templates
AdminLTE V3 templates for InfyOm Laravel Generator
Stars: ✭ 189 (+656%)
Mutual labels:  adminlte
laravel-adminlte-boilerplate
Laravel 5.6+ AdminLTE
Stars: ✭ 45 (+80%)
Mutual labels:  adminlte
Adminltebundle
AdminLTE bundle for Symfony 4 - an backend/admin theme for easy integration with SF4. Its based on the AdminLTE Template and built with webpack-encore. Supports KNPMenuBundle and FOSUserBundle.
Stars: ✭ 178 (+612%)
Mutual labels:  adminlte
apidoc-template
A cleaner and beautiful template for apiDoc
Stars: ✭ 46 (+84%)
Mutual labels:  apidoc
admin-base-tmpl
⚡️基于vite2构建的vue2+typescript+elementUI 的后台基础套件,预览地址
Stars: ✭ 52 (+108%)
Mutual labels:  adminlte
spring-tiles-sample-app
Spring MVC - Apache Tile - AdminLTE Bootstrap template - Sample Application
Stars: ✭ 33 (+32%)
Mutual labels:  adminlte
Admin-LTE
AdminLTE Control Panel Template Best open source admin dashboard with JSF 2 e Primefaces
Stars: ✭ 21 (-16%)
Mutual labels:  adminlte

LaraLTE2

Laravel PHP Framework with AdminLTE2

Whenever I start a new Laravel project, I do the same thing; Install packages, download Javascript plugins...etc.
This repository helps me bootstrap all of that.

Note: if you want to use Laravel 5.2, 5.3, 5.4 please checkout to branch

Setup:

All you need is to run these commands:

git clone https://github.com/kossa/laralte2.git
cd laralte2 
composer install                   # Install backend dependencies
sudo chmod 777 storage/ -R         # Chmod Storage
cp .env.example .env               # Update database credentials configuration
php artisan key:generate           # Generate new keys for Laravel
php artisan migrate:refresh --seed # Run migration and seed users and categories for testing
yarn install                       # Install node dependencies
npm run production                 # To compile assets for prod

Demo:

Note:
Username: [email protected]
Password: 123456

All the data are reset each 30mn ;) please d'ont forget to remove this function in your app


Included Packages:

Laravel (php):

JS plugins:

LaraLTE2 uses :

Page size optimization:

  • Using Laravel Mix, all CSS and JS are in minified to one file each.
  • LaraLTE2 leverages browser caching, using .htaccess file from html5-boilerplate
  • GZip compression is activated by default(APP_DEBUG=false => only onfile for js, and one file for css).
    • admin-HASH.css: 63.9KB with gzip (376.5Kb without)
    • admin-HASH.js : 99KB with gzip (318.9Kb without)

Note: If you're using Nginx check: server-configs-nginx

alt text

REST API

As you may see in included packages, I used ApiDocs to document all routes in api/v1 and controllers in Api namespace. You can check the docs at laralte2.bel4.com/api

Note: The API is protected by token, so when you send a request you should include APP-TOKEN in the header, this value will be compared to APP_TOKEN in .env file check this middleware

#FAQ

Create new CRUD

Creating CRUD in your application is the job you do most. Let's create Post CRUD:

  • Add new migration and model : php artisan make:model Post -m
  • Open migration file and add your columns
  • Create PostsController : php artisan make:controller. fill your resource (you can use CategoriesController with some changes) or, if you are a lazy developer like me, use a snippet and make only 2 changes
  • Duplicate resource/views/admin/categories folder to posts, make changes in index.php, create.blade.php, edit.blade.php

Move Image and file ?

To move images im using a helper function based on intervention/image and variables.php you can check full example in User.php

Do you need RTL support ?

  • Copy/paste "rtl-dependencies" into "dependencies" section
  • Change all pull-right to pull-left in default file and vise versa
  • Uncomment this line in webpack.mix.js
  • Run: yarn upgrade && npm run dev, you're ready to go ;)

alt text

Create new REST API

Rest Controllers are in the App\Http\Controllers\Api namespace.

  • Create new controller that extends ApiController class
  • Add your route in api/v1 route group
  • Add documentation block (documentation)
  • Install ApiDoc via npm, run: npm install apidoc -g (only first time)
  • Run this command : apidoc -i app/Http/Controllers/Api/ -o public/api/ -t resources/apiTemplate/
  • That's all :)

Do you have question ?

Not hesitate, open new issue ;)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].