Skip to content

Developing laravel package instruction

Yan Datsyuk edited this page May 18, 2017 · 1 revision

How to develop laravel package.

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.

Now you can edit this package, and see immediately changes in your develop project. Don't be shy to become contributor. 👍

Clone this wiki locally