Discussion

Install laravel package from local folder

When we develop laravel packages, they should be uploaded to packagist in order to test it.

It’s very annoying to update some small code snippet, upload again and test.

In order to prevent this, there is a way to install laravel package from local folder.

Add this code snippet to composer.json

"repositories": [
        {
            "type": "artifact",
            "url": "/path/to/folder"
        }
    ]

And run composer install <package name> command

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *