• Stars
    star
    909
  • Rank 50,251 (Top 1.0 %)
  • Language
    PHP
  • License
    MIT License
  • Created over 7 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Laravel Boilerplate / Starter Kit with Gentelella Admin Theme

Build Status Laravel Version PHP Badge Latest Stable Version Total Downloads License

Laravel Boilerplate Project

Laravel Boilerplate provides a very flexible and extensible way of building your custom Laravel applications.

Table of Contents

Features

  • Administration Dashboard with Gentelella Admin Theme
  • Responsive Layout
  • Bootstrap 3
  • Font Awesome
  • Socialite Integration
  • Invisible reCAPTCHA
  • Membership plans and Access control management by NetLicensing πŸ‘
  • MySQL, SQLite, PostgreSQL databases support
  • AWS S3 support
  • Google Analytics support in frontend
    • Configuration can be easily made via analytics.php and template ga.blade.php
  • Automatic errors feedback via eMail
  • i18n support and automatic user client language recognition
  • Helper class ToJs to ease work with JavaScript variables using blade directive @tojs
  • Helper class Meta blade directive @meta to ease work with meta tags & properties
  • Models for Users and Roles
  • Added Auth controller to allow registration activation by email
  • Guided Tour by GuideChimp πŸ‘
  • Extended Auth configuration by:
    • Ability to switch on/off user registration
    • Set up default user role
    • Ability to switch on/off registration activation email
    • Captcha configuration
  • Gravatar support in User model and flexible configuration via gravatar.php
  • Added library log viewer to allow printing errors in a log file laravel.log
  • Added library sortable for tables sorting
  • i18n: trans() method replaced by __() in order to support internationalization via JSON resources
  • Registration using social services (Google+, Facebook, Twitter)
  • Storing last social login in user session
  • Added event on SocialLogin
  • Added listeners on some events; e.g. Login, Logout, Registration, SocialLogin
  • Added notification ConfirmEmail on user account confirmation
  • Added policies to access backend services
  • Added database seeders for Users, Roles, and UserRoles
  • Improved migration create_users_table.php; fields added active, confirm and deleted_at for soft deletion
  • JavaScript / CSS minification
  • JavaScript / CSS hashing
  • Some very useful helper functions to ease your live :)

Theme Demo

Gentelella Bootstrap Admin Template

Gentelella Admin Theme Demo

System Requirements

To be able to run Laravel Boilerplate you have to meet the following requirements:

  • PHP >= 7.4
  • PHP Extensions: BCMath, Ctype, Fileinfo, JSON, Mbstring, OpenSSL, PDO, Tokenizer, XML, cURL, Mcrypt, GD
  • Node.js >= 8.x
  • Composer >= 1.9.x

Installation

  1. Install Composer using detailed installation instructions here
$ wget https://getcomposer.org/composer.phar
$ chmod +x composer.phar
$ mv composer.phar /usr/local/bin/composer
  1. Install Node.js using detailed installation instructions here
$ yum install npm
  1. Clone repository
$ git clone https://github.com/Labs64/laravel-boilerplate.git
  1. Change into the working directory
$ cd laravel-boilerplate
  1. Copy .env.example to .env and modify according to your environment
$ cp .env.example .env
  1. Install composer dependencies
$ composer install --prefer-dist
  1. An application key can be generated with the command
$ php artisan key:generate
  1. Execute following commands to install other dependencies
$ npm install
$ npm run dev
  1. Run these commands to create the tables within the defined database and populate seed data
$ php artisan migrate --seed

Troubleshooting

  • If you get an error like a PDOException try editing your .env file and change DB_HOST=127.0.0.1 to DB_HOST=localhost or DB_HOST=mysql (for docker-compose environment).

  • If you get a password error try this command:

# ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'root';

Run

To start the PHP built-in server

$ php artisan serve --port=8080
or
$ php -S localhost:8080 -t public/

Now you can browse the site at http://localhost:8080 πŸ™Œ

Docker

Here is a Docker based local development environment prepared, which provides a very flexible and extensible way of building your custom Laravel applications.

What's Inside

This project is based on docker-compose. By default, the following containers are started: laravel-env (centos:7 based), mysql, nginx. Additional containers (phpmyadmin, mailhog) are externalized into docker-compose.utils.yml. The /var/www/laravel-boilerplate directory is the web root which is mapped to the nginx container. You can directly edit configuration files from within the repo as they are mapped to the correct locations in containers.

Laravel Boilerplate Docker

System Requirements

To be able to run Laravel Boilerplate you have to meet the following requirements:

Run

  1. Clone repository
$ git clone https://github.com/Labs64/laravel-boilerplate.git
  1. Copy .env.example to .env and modify according to your environment (make sure database host set to DB_HOST=mysql)
$ cp .env.example .env
  1. Start environment
$ docker-compose up -d  # to start base containers
or
$ docker-compose -f docker-compose.yml -f docker-compose.utils.yml up -d  # to start base and utils containers
  1. Build project
$ docker exec laravel-boilerplate_laravel-env_1 ./dockerfiles/bin/prj-build.sh
 or
$ docker-compose run --rm laravel-boilerplate_laravel-env_1 ./dockerfiles/bin/prj-build.sh

Now you can browse the site at http://localhost:80 πŸ™Œ


  1. Stop environment
$ docker-compose down
 or
$ docker-compose -f docker-compose.yml -f docker-compose.utils.yml down

How To's & Modules configuration

Check out project wiki pages for modules configuration and troubleshooting. For more detailed instructions on how to use Laravel and it's extensions, check out the full Laravel documentation.

How to contribute

Fork the repository, read the CONTRIBUTE file and make some changes. Once you're done with your changes send a pull request and check CI validation status. Thanks!

Contributors and Supporters

Thank you to all the contributors on this project. Your help is much appreciated!

Bugs and Feedback

For bugs, questions and discussions please use the GitHub Issues.

License

This boilerplate is open-source software licensed under the MIT license.

More Repositories

1

GuideChimp

Create interactive guided product tours in minutes with the most non-technical friendly, lightweight and extendable library.
JavaScript
187
star
2

NetLicensingClient-csharp

C# wrapper for Labs64 NetLicensing RESTful API
C#
23
star
3

credit-tracker

Credit Tracker WordPress plugin
PHP
19
star
4

swid-generator

Generate SoftWare IDentification (SWID) Tags according to ISO/IEC 19770-2:2015
Java
17
star
5

NetLicensingClient-php

PHP wrapper for Labs64 NetLicensing RESTful API
PHP
14
star
6

PluginPass

PluginPass - WordPress PRO Plugin/Theme Licensing
PHP
13
star
7

NetLicensingClient-javascript

JavaScript wrapper for Labs64 NetLicensing RESTful API
JavaScript
13
star
8

netlicensing.io

Labs64 NetLicensing - Innovative License Management Solution
HTML
12
star
9

DigiPass

DigiPass (Paywall) WordPress plugin
PHP
11
star
10

NetLicensingClient-cpp

C++ wrapper for Labs64 NetLicensing RESTful API
C++
10
star
11

NetLicensing-Gateway

Labs64 NetLicensing / eCommerce gateway
Java
10
star
12

dynamic-web-cookbook

Collected code examples of HTML, CSS, JavaScript and other WEBby stuff
JavaScript
9
star
13

NetLicensing-FastSpring

Labs64 NetLicensing / FastSpring integration
PHP
8
star
14

NetLicensingClient-java

Java wrapper for Labs64 NetLicensing RESTful API
Java
8
star
15

labs64.github.io

Labs64 Developers Tools - Useful Online Tools for Developers such as Convertors, Formatters, Viewers, Minifiers, Validators und many others: XML, JSON, JavaScript, Java, C#, Python, SQL
SCSS
7
star
16

l64-tools

Labs64 :: Tools (Java)
Java
6
star
17

NetLicensing-API

Labs64 NetLicensing RESTful API Test Center
JavaScript
6
star
18

NetLicensing-Demo

Labs64 NetLicensing / Demo Application
PHP
6
star
19

NetLicensing-PrestaShop

NetLicensing Connector for PrestaShop
PHP
6
star
20

swid-maven-plugin

Maven Plugin :: Generate SoftWare IDentification (SWID) Tags according to ISO/IEC 19770-2:2015
Java
6
star
21

NetLicensing-Zapier

Labs64 NetLicensing / Zapier Integration
JavaScript
6
star
22

NetLicensingClient-kotlin

Kotlin wrapper for Labs64 NetLicensing RESTful API
Kotlin
5
star
23

NetLicensing-Schema

Labs64 NetLicensing XML Schema
5
star
24

labs64.com

Labs64 - Innovations Delivered
HTML
4
star
25

wiki

Labs64 NetLicensing Wiki - Innovative License Management Solution
4
star
26

NetLicensing-Community

NetLicensing Community Support
4
star
27

GuideChimp-tours

GuideChimp Public Tours
3
star
28

NetLicensingClient-python

Python wrapper for Labs64 NetLicensing RESTful API
Python
3
star
29

code-analysis

1
star
30

NetLicensing-Auth0

Labs64 NetLicensing / Auth0 Integration
JavaScript
1
star
31

netlicensing-tomcat-sample

NetLicensing Tomcat Example
Java
1
star