Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Proposal] Laravel Package Manager #8

Open
rtablada opened this issue Jul 1, 2013 · 9 comments
Open

[Proposal] Laravel Package Manager #8

rtablada opened this issue Jul 1, 2013 · 9 comments

Comments

@rtablada
Copy link
Owner

rtablada commented Jul 1, 2013

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:

  1. Versioning, updating, conflict resolution, etc. Adding a storage cache which keeps a record of what is installed, where, what has been omitted etc. This would be used for conflict resolution as well as storage for updates when packages change their provides.json
  2. A search command: this would give the ability for a user to search for installable packages that list themselves as installable with Package Manager
@caouecs
Copy link
Contributor

caouecs commented Jul 2, 2013

Hello,
good idea

@rtablada
Copy link
Owner Author

rtablada commented Jul 2, 2013

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 <[email protected]="mailto:[email protected]">> wrote:
Hello,

good idea


Reply to this email directly or view it on GitHub.

@rtablada
Copy link
Owner Author

rtablada commented Jul 2, 2013

Also, the tag to list your package as a package manager package is lpm for laravel package manager

@caouecs
Copy link
Contributor

caouecs commented Jul 2, 2013

@rtablada
Copy link
Owner Author

rtablada commented Jul 2, 2013

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.

@caouecs
Copy link
Contributor

caouecs commented Jul 11, 2013

it works

php artisan package:search caouecs
+-----------------------+-------------------------------+
| Package Name          | Package Description           |
+-----------------------+-------------------------------+
| caouecs/gumby2        | Gumby2 Framework in Laravel 4 |
| caouecs/laravel4-lang | Languages for Laravel4        |
+-----------------------+-------------------------------+

@caouecs caouecs mentioned this issue Jul 24, 2013
@mikeerickson
Copy link

While enhancing to Package Manager, how about a method for perform an Uninstall operation as well?

@gnanakeethan
Copy link

@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.

@barryvdh
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants