Skip to content

Innovatube/laravel-boilerplate

 
 

Repository files navigation

Laravel Boilerplate

Scrutinizer Code Quality

CircleCI

This is starter application template for Laravel. Any suggestions, feedback, or push requests are really welcome.

How To Start Your Project

First, you can clone this repository.

git clone [email protected]:takaaki-mizuno/laravel-boilerplate.git

Then, change the directory name to your own project name.

mv laravel-boilerplate [your-own-project-name]

Create your own repository on GitHub.And you can change origin url to your own remote repository and push it.

git remote set-url origin [your-git-url] git push -u origin master

And after that, you can add this boilerplate remote repository as another remote url.

git remote add boilerplate [email protected]:takaaki-mizuno/laravel-boilerplate.git

With that, you can get update of boiler plate with git pull boilerplate master command.

Use Generators

On this boilerplate, I added many generators

Use make:new-model instead of make:model and use make:repository, make:service,make:helper to create repositories, services, helpers. And make:admin-crud to create admin crud.

The process for setting up the base structure will be following.

  1. You can create migration with make:migration and create the tables
  2. Create model with make:new-model
  3. Create repository with make:repository
  4. Create Admin CRUD with make:admin-crud
  5. Create services and helpers with make:service and make:helper if needed.

These generators create test code also. You need to add more tests on these files.

About

Laravel boilerplate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 71.3%
  • HTML 22.6%
  • PHP 6.1%