Last active
December 18, 2015 05:19
-
-
Save rtablada/5731991 to your computer and use it in GitHub Desktop.
Proposal for laravel specific package helpers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Laravel specific packages could have a provides.json file with info that allows You to list any service providers or facades. | |
then to install, you run `artisan package:install vendor/package` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"serviceProviders": [ | |
"Vendor\Namespace\ServiceProvider" | |
], | |
"facades": [ | |
{ | |
"alias": "Alias", | |
"facade": "Path\To\Facade" | |
} | |
] | |
} |
Awesome !! Would`nt be more easier than to require, install or remove packages all using a command. No more composer manually adding stuff, artisan does it all. I think we should work on this, a temporary package atleast for now.
Hmm...not sure how helpful this would be. Do you guys install that many Laravel packages to make something like this necessary?
It isn't a necessity, but it makes it a bit simpler to add packages based on default settings.
Almost a syntactical sugar for installing packages.
I have worked a basic implementation of this and have posted a screencast on the use.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can we implement this into a custom artisan command for now and supply a demo package? this would rock my world for sure