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

Feature request: installation with composer and packagist #10

Open
3 tasks
yookoala opened this issue Aug 9, 2023 · 0 comments
Open
3 tasks

Feature request: installation with composer and packagist #10

yookoala opened this issue Aug 9, 2023 · 0 comments

Comments

@yookoala
Copy link
Contributor

yookoala commented Aug 9, 2023

The defacto standard of PHP library is to publish it on Packagist.org and allow installation with composer install vendor-name/package-name command. Then the composer autoloader will do the heavy loading to include proper file. Also the composer will know when a new release is available for update.

This would provide compatibility to all popular web frameworks (e.g. Laravel, Symfony, Drupal).

To do this, this package needed to:

  • Update composer.json to add package name and proper PSR-4.
  • Publish a version (i.e. tag a commit with a semantic versioning tag on GitHub)).
  • Submit this git repository to packagist.

#8 is a step forward to this goal but some more steps will be needed.

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

1 participant