Code Monkey home page Code Monkey logo

laravel-boilerplate's Introduction

A Laravel 5 Boilerplate Project

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

Features

  • Administration Dashboard with Gentelella Admin Theme
  • Responsive Layout
  • Bootstrap 3
  • Font Awesome
  • Socialite Integration
  • 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
  • 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

Template Demo

Minimum System Requirements

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

  • PHP > 5.6.4
  • PHP Extensions: PDO, cURL, Mbstring, Tokenizer, Mcrypt, XML, GD
  • Node.js > 6.0
  • Composer > 1.0.0
  • Bower

Installation

  1. Clone repository
$ git clone https://github.com/Labs64/laravel-boilerplate.git
  1. Install Composer using detailed installation instructions here
  2. Install Node.js using detailed installation instructions here
  3. Change into the working directory
$ cd laravel-boilerplate
  1. Install dependencies
$ composer install --prefer-dist
$ npm install
  1. Edit .env.example according to your environment and save as .env
  2. An application key can be generated with the command
$ php artisan key:generate
  1. Execute following commands
$ bower install
$ npm run dev
  1. Run these commands to create the tables within the defined database and populate seed data
$ php artisan migrate --seed

If you get an error like a PDOException try editing your .env file and change DB_HOST=localhost to DB_HOST=127.0.0.1.

Run

To start the PHP built-in server

$ php -S localhost:8080 -t public/

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

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!

Bugs and Feedback

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

License

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

laravel-boilerplate's People

Contributors

r-brown avatar v-rudkovskiy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.