Skip to content

Laravel boilerplate with the best development practices.

License

Notifications You must be signed in to change notification settings

ColoredCow/laravel-init

Repository files navigation

Laravel Boilerplate

GitHub issues GitHub issues GitHub pull request GitHub pull request GitHub milestones Coding Standards

Introduction

👋 Welcome to Laravel Init - a boilerplate for installing laravel application. It covers:

  1. One-liner shell script to set up your Laravel project.
  2. Pre-commit hooks for Laravel coding standards. This will lint the code changes during commit. In case coding standard is not followed, it aborts the commit and return warnings.
  3. GitHub Issues and Pull Requests templates.
  4. GitHub Action for coding standards check:
    • PHP CS - PHP coding linter
    • ESLint - JavaScript coding linter
    • Larastan - Laravel static code analyzer

Installation

  1. Clone the repo using the below command
    git clone https://github.com/ColoredCow/laravel-init your_project_name
  2. Go to the project directory using below command
    cd your_project_name
  3. Run this command to setup the project
    sh project-setup.sh