Closed jorgemudry closed 4 years ago
When fixing bugs or adding new features, your can use branch to test your work:
https://getcomposer.org/doc/05-repositories.md#loading-a-package-from-a-vcs-repository
All you have to do is add your fork as a repository and update the version constraint to point to your custom branch. In
composer.json
, you should prefix your custom branch name with "dev-".
This is an example: [joelhy/composer.json] (https://gist.github.com/joelhy/1588ed9fb67473197f8cd69d2b4587cd)
What does this Pull Request Do?
It fixes the issue #73
It also adds the option
--force
to overwrite an existing controller.How should this be manually tested?
name
property in thecomposer.json
file:composer.json
:bootstrap/app.php
add this:ApiController.php
inside of youapp\Http\Controllers
folder looking like this:Any background context you want to provide?
I know that model binding is not supported by Lumen out of the box, but you could easily add that functionality installing a library.
Any extra info?