-
Notifications
You must be signed in to change notification settings - Fork 4
Developing laravel package instruction
Yan Datsyuk edited this page May 18, 2017
·
1 revision
This article describes steps for local installation and a laravel package development flow.
- Install fresh laravel project. (official installation guide)
- Clone this package from github into another folder.
git clone https://github.com/YanDatsyuk/Laravel-REST-API-generator.git
- Edit composer.json in you fresh installed laravel project. Add new repository
"repositories": [
{
"type": "path",
"url": "../../REST-API-Generators/Laravel-REST-API-generator"
}
]
Then add new requirement "tmphp/rest-api-generators": "dev-master"
to same composer.json
file.
- Navigate to your fresh installed laravel project and execute:
composer update
. - Do all steps from initial project configuration article
Now you can edit this package, and see immediately changes in your develop project. Don't be shy to become contributor. 👍