Open rtablada opened 11 years ago
Hello, good idea
I have finished up package:search, although the functionality is a bit broken by the packagist API package which I have put in a request for updating.
On Tue, Jul 2, 2013 at 4:19 AM, Caouecs notifications@github.com="mailto:notifications@github.com"> wrote: Hello,
good idea
— Reply to this email directly or view it on GitHub.
Also, the tag to list your package as a package manager package is lpm for laravel package manager
That should work. Like I said, right now, it will show all packages that match the search but when the packagist API package is updated from my pull request, it should only search based on the lpm tag/keyword.
it works
php artisan package:search caouecs
+-----------------------+-------------------------------+
| Package Name | Package Description |
+-----------------------+-------------------------------+
| caouecs/gumby2 | Gumby2 Framework in Laravel 4 |
| caouecs/laravel4-lang | Languages for Laravel4 |
+-----------------------+-------------------------------+
While enhancing to Package Manager, how about a method for perform an Uninstall operation as well?
@rtablada can you make a Uninstall action. that is not required much, but it may be a choice when we could install packages from web and remove them.
Why not create a composer installer (https://getcomposer.org/doc/articles/custom-installers.md) and you wouldn't need any other commands etc, but just hook into Composer. (But it would be better to let packages define a type like 'laravel-package' and put the provides.json stuff in the composer.json extra data)
While this would require some doing, I was thinking of bringing Package Installer into more of a Package Manager utility. This would mean a few things:
provides.json