Step #1: Install Laravel
Install the latest Laravel version i.e. Laravel 5.8. To do so go to the project directory and run the command:
composer create-project --prefer-dist laravel/laravel
Step #2: Create Package Directory
create folder from laravel root directory with this structure: