This is starter application template for Laravel. Any suggestions, feedback, or push requests are really welcome.
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.
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.
- You can create migration with
make:migration
and create the tables - Create model with
make:new-model
- Create repository with
make:repository
- Create Admin CRUD with
make:admin-crud
- Create services and helpers with
make:service
andmake:helper
if needed.
These generators create test code also. You need to add more tests on these files.