Creating Installer of your Laravel Project
Create an Installer of Laravel Project to automate basic tasks of project
In this article, I am going to show you how to create an installer of Laravel project to automate basic tasks.
When you are working on a Laravel project there is some basic setup that needs to be done for each install of the project.
- Giving Permissions for “bootstrap/cache”, “storage”, “vendor” folder
- composer install / composer update
- Copying .env.example to .env
- Key generation
- Migration & Seeding
- NPM install
Instead of asking your user to do these steps we can create an installer for doing this task. In this blog, we are going to learn to create the installer for Laravel projects.We will use a shell script to do this.