PHPackages                             labs64/laravel-boilerplate - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. labs64/laravel-boilerplate

ActiveProject[Framework](/categories/framework)

labs64/laravel-boilerplate
==========================

Laravel Boilerplate

1.1.0(6y ago)92967327[16 PRs](https://github.com/Labs64/laravel-boilerplate/pulls)MITPHPPHP &gt;=7.2.5CI passing

Since Apr 20Pushed 2mo ago55 watchersCompare

[ Source](https://github.com/Labs64/laravel-boilerplate)[ Packagist](https://packagist.org/packages/labs64/laravel-boilerplate)[ Docs](https://github.com/Labs64/laravel-boilerplate)[ Fund](https://www.paypal.me/labs64)[ RSS](/packages/labs64-laravel-boilerplate/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (20)Versions (28)Used By (0)

[![](https://camo.githubusercontent.com/640c3d52b2764f179ef3cf089b604516a8c4ac0a06f055a46c6a7fce9428b787/68747470733a2f2f6c61726176656c2e636f6d2f6173736574732f696d672f636f6d706f6e656e74732f6c6f676f2d6c61726176656c2e737667)](https://camo.githubusercontent.com/640c3d52b2764f179ef3cf089b604516a8c4ac0a06f055a46c6a7fce9428b787/68747470733a2f2f6c61726176656c2e636f6d2f6173736574732f696d672f636f6d706f6e656e74732f6c6f676f2d6c61726176656c2e737667)

[![Build Status](https://camo.githubusercontent.com/aa80aae4b55e68541bcbe91bfa353a66f5db999cf432980e75d740d968ee3308/68747470733a2f2f7472617669732d63692e6f72672f4c61627336342f6c61726176656c2d626f696c6572706c6174652e737667)](https://travis-ci.org/Labs64/laravel-boilerplate)[![Laravel Version](https://camo.githubusercontent.com/5b739a9959e24fc24d4c3e23b36b45afc5c40f36093ba437c49015d2668a62c0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d76382d6630353334302e737667)](https://laravel.com)[![PHP Badge](https://camo.githubusercontent.com/e3c916bc1a631c13d3447a719d3b9ba887e99badf23f8616674644468ae318f8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230372e322e352d3838393242462e737667)](https://github.com/Labs64/laravel-boilerplate/blob/master/composer.json)[![Latest Stable Version](https://camo.githubusercontent.com/c88df4ccdc4447d6e7258f9751fa84d32b394449d335ba73f470caed4e547ab0/68747470733a2f2f706f7365722e707567782e6f72672f6c61627336342f6c61726176656c2d626f696c6572706c6174652f762f737461626c652e737667)](https://packagist.org/packages/labs64/laravel-boilerplate)[![Total Downloads](https://camo.githubusercontent.com/5f979ab194252e5359e3fd56aecd809bf6257782a9016b1a155419d5ca16fe30/68747470733a2f2f706f7365722e707567782e6f72672f6c61627336342f6c61726176656c2d626f696c6572706c6174652f642f746f74616c2e737667)](https://packagist.org/packages/labs64/laravel-boilerplate)[![License](https://camo.githubusercontent.com/239258fcc72fa81b795ce404c159d058989236732b59b6bc8bb5ac94699ee5fe/68747470733a2f2f706f7365722e707567782e6f72672f6c61627336342f6c61726176656c2d626f696c6572706c6174652f6c6963656e73652e737667)](https://packagist.org/packages/labs64/laravel-boilerplate)

Laravel Boilerplate Project
===========================

[](#laravel-boilerplate-project)

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

Table of Contents
-----------------

[](#table-of-contents)

- [Features](#features)
- [Theme Demo](#theme-demo)
- [System Requirements](#system-requirements)
- [Installation](#installation)
- [Run](#run)
- [Docker](#docker) 👈
- [How To's &amp; Modules configuration](#how-tos--modules-configuration)
- [How to contribute](#how-to-contribute)
- [Bugs and Feedback](#bugs-and-feedback)
- [License](#license)

Features
--------

[](#features)

- Administration Dashboard with [Gentelella Admin Theme](https://github.com/puikinsh/gentelella)
- Responsive Layout
- Bootstrap 3
- Font Awesome
- Socialite Integration
- [Invisible reCAPTCHA](https://github.com/albertcht/invisible-recaptcha)
- **Membership plans and Access control management** by [NetLicensing](https://netlicensing.io/?utm_source=Laravel_Boilerplate&utm_medium=github&utm_campaign=laravel_boilerplate&utm_content=readme) 👍
- 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 &amp; properties
- Models for Users and Roles
- Added Auth controller to allow registration activation by email
- **Guided Tour** by [GuideChimp](https://www.labs64.com/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
----------

[](#theme-demo)

[![Gentelella Bootstrap Admin Template](https://camo.githubusercontent.com/600ff6e06705d14a235357c080d81752850987e4aff398ef571c27230ef314a5/68747470733a2f2f636f6c6f726c69622e636f6d2f77702f77702d636f6e74656e742f75706c6f6164732f73697465732f322f67656e74656c656c6c612d61646d696e2d74656d706c6174652d707265766965772e6a7067 "Gentelella Theme Browser Preview")](https://camo.githubusercontent.com/600ff6e06705d14a235357c080d81752850987e4aff398ef571c27230ef314a5/68747470733a2f2f636f6c6f726c69622e636f6d2f77702f77702d636f6e74656e742f75706c6f6164732f73697465732f322f67656e74656c656c6c612d61646d696e2d74656d706c6174652d707265766965772e6a7067)

**[Gentelella Admin Theme Demo](https://colorlib.com/polygon/gentelella/index.html)**

System Requirements
-------------------

[](#system-requirements)

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

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

Installation
------------

[](#installation)

1. Install Composer using detailed installation instructions [here](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx)```
    wget https://getcomposer.org/composer.phar

    ```

    ```
    chmod +x composer.phar

    ```

    ```
    mv composer.phar /usr/local/bin/composer

    ```
2. Install Node.js using detailed installation instructions [here](https://nodejs.org/en/download/package-manager/)```
    yum install npm

    ```
3. Clone repository ```
    git clone https://github.com/Labs64/laravel-boilerplate.git

    ```
4. Change into the working directory ```
    cd laravel-boilerplate

    ```
5. Copy `.env.example` to `.env` and modify according to your environment ```
    cp .env.example .env

    ```
6. Install composer dependencies ```
    composer install --prefer-dist

    ```
7. An application key can be generated with the command ```
    php artisan key:generate

    ```
8. Execute following commands to install other dependencies ```
    npm install

    ```

    ```
    npm run dev

    ```
9. Run these commands to create the tables within the defined database and populate seed data ```
    php artisan migrate --seed

    ```

Troubleshooting
---------------

[](#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
---

[](#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  🙌

Docker
------

[](#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

[](#whats-inside)

This project is based on [docker-compose](https://docs.docker.com/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](https://raw.githubusercontent.com/Labs64/laravel-boilerplate/master/dockerfiles/img/laravel-boilerplate-docker.png)](https://raw.githubusercontent.com/Labs64/laravel-boilerplate/master/dockerfiles/img/laravel-boilerplate-docker.png)

### System Requirements

[](#system-requirements-1)

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

- [docker](https://www.docker.com)
- [docker-compose](https://docs.docker.com/compose/)

### Run

[](#run-1)

1. Clone repository

    ```
    git clone https://github.com/Labs64/laravel-boilerplate.git

    ```
2. Copy `.env.example` to `.env` and modify according to your environment (make sure database host set to `DB_HOST=mysql`)

    ```
    cp .env.example .env

    ```
3. 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

    ```
4. 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  🙌

---

5. Stop environment ```
    docker-compose down

    ```

    or ```
    docker-compose -f docker-compose.yml -f docker-compose.utils.yml down

    ```

How To's &amp; Modules configuration
------------------------------------

[](#how-tos--modules-configuration)

Check out project [wiki](https://github.com/Labs64/laravel-boilerplate/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](https://laravel.com/docs/).

How to contribute
-----------------

[](#how-to-contribute)

Fork the repository, read the [CONTRIBUTE](CONTRIBUTE.md) file and make some changes. Once you're done with your changes send a pull request and check [CI validation status](https://travis-ci.org/Labs64/laravel-boilerplate). Thanks!

### Contributors and Supporters

[](#contributors-and-supporters)

Thank you to all the [contributors](https://github.com/Labs64/laravel-boilerplate/graphs/contributors) on this project. Your help is much appreciated!

- [Clever Kids](https://clever-kids.eu?utm_source=Laravel_Boilerplate&utm_medium=github&utm_campaign=laravel_boilerplate&utm_content=readme) team for a great support in project structuring.
- [GuideChimp](https://www.labs64.com/guidechimp/) - A simple, lightweight, clean and small library for creating guided product tours for your web app.
- [PluginPass – WordPress PRO Plugin/Theme Licensing](https://wordpress.org/plugins/pluginpass-pro-plugintheme-licensing/) - Easily control the use and monetize your WordPress plugins and themes
- [@veerajongit](https://github.com/veerajongit) - a package that does the testing automatically every time the code or the test changes
- [@rainerkent](https://github.com/rainerkent) - Update to Laravel 6

Bugs and Feedback
-----------------

[](#bugs-and-feedback)

For bugs, questions and discussions please use the [GitHub Issues](https://github.com/Labs64/laravel-boilerplate/issues).

License
-------

[](#license)

This boilerplate is open-source software licensed under the [MIT license](LICENSE).

Star History
------------

[](#star-history)

[![Star History Chart](https://camo.githubusercontent.com/6151f2929f8d690d187892a153a371fc7fe0df100fba0a3e640ef16d7bc30341/68747470733a2f2f6170692e737461722d686973746f72792e636f6d2f7376673f7265706f733d4c61627336342f6c61726176656c2d626f696c6572706c61746526747970653d44617465)](https://www.star-history.com/#Labs64/laravel-boilerplate&Date)

###  Health Score

50

—

FairBetter than 96% of packages

Maintenance56

Moderate activity, may be stable

Popularity35

Limited adoption so far

Community31

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 64% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~107 days

Recently: every ~26 days

Total

11

Last Release

2232d ago

Major Versions

0.6.0 → 1.0.02020-02-06

PHP version history (4 changes)0.1.0PHP &gt;=5.6.4

0.5.0PHP &gt;=7.0

0.6.0PHP &gt;=7.2

1.0.2PHP &gt;=7.2.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/efe00e0f666552addb74e3d2cd3b10a3349bd0fcc118d4f7f8be420790af6591?d=identicon)[r-brown](/maintainers/r-brown)

---

Top Contributors

[![r-brown](https://avatars.githubusercontent.com/u/1361258?v=4)](https://github.com/r-brown "r-brown (208 commits)")[![v-rudkovskiy](https://avatars.githubusercontent.com/u/3775910?v=4)](https://github.com/v-rudkovskiy "v-rudkovskiy (87 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (16 commits)")[![marvincaspar](https://avatars.githubusercontent.com/u/2600346?v=4)](https://github.com/marvincaspar "marvincaspar (4 commits)")[![nowendwell](https://avatars.githubusercontent.com/u/5315824?v=4)](https://github.com/nowendwell "nowendwell (2 commits)")[![cygnetayjaha](https://avatars.githubusercontent.com/u/19972416?v=4)](https://github.com/cygnetayjaha "cygnetayjaha (2 commits)")[![kayalardanmehmet](https://avatars.githubusercontent.com/u/9289487?v=4)](https://github.com/kayalardanmehmet "kayalardanmehmet (1 commits)")[![fraank](https://avatars.githubusercontent.com/u/32003?v=4)](https://github.com/fraank "fraank (1 commits)")[![hahalo](https://avatars.githubusercontent.com/u/16630878?v=4)](https://github.com/hahalo "hahalo (1 commits)")[![hastadhana](https://avatars.githubusercontent.com/u/56010755?v=4)](https://github.com/hastadhana "hastadhana (1 commits)")[![ArmCM](https://avatars.githubusercontent.com/u/10622846?v=4)](https://github.com/ArmCM "ArmCM (1 commits)")[![rainerkent](https://avatars.githubusercontent.com/u/17761544?v=4)](https://github.com/rainerkent "rainerkent (1 commits)")

---

Tags

adminboilerplatebootstrapdockerdocker-composefont-awesomeguidechimphacktoberfestlaravellaravel-boilerplatenodejsopen-source-fridayphpproduct-toursocial-loginstarterstarter-kittemplatethemephpframeworklaraveltemplatedockerboilerplatethemebootstrapnodejsadminstarterlaravel7Social Login

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/labs64-laravel-boilerplate/health.svg)

```
[![Health](https://phpackages.com/badges/labs64-laravel-boilerplate/health.svg)](https://phpackages.com/packages/labs64-laravel-boilerplate)
```

###  Alternatives

[bagisto/bagisto

Bagisto Laravel E-Commerce

26.2k161.6k7](/packages/bagisto-bagisto)[krayin/laravel-crm

Krayin CRM

22.0k32.8k1](/packages/krayin-laravel-crm)[nasirkhan/laravel-starter

A CMS like modular Laravel starter project.

1.4k2.7k](/packages/nasirkhan-laravel-starter)[unopim/unopim

UnoPim Laravel PIM

9.4k1.8k](/packages/unopim-unopim)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
