Topic: Composer & Packagist for htmLawed
Hello there,
We use htmLawed in some open source project:
- h*tps://github.com/j0k3r/graby
- h*tps://github.com/SSilence/selfoss
- h*tps://github.com/wallabag/wallabag
And we noticed that you didn't publish your package on Packagist.
For some background, Composer is a package manager for PHP projects (think of a npm / pip for PHP). It allow projects to retrieve libraries without taking care of manually updating them.
Composer use Packagist as a main repository where all libraries are published. When someone publish a new release of its library, Packagist is updated (this can be automatised from GitHub or manually) and everyone who use that library can retrieve the update.
Since you didn't publish htmLawed on Packagist, there are a lot of cloned project: https://packagist.org/search/?q=HTMLawed
The main problem is that they don't often update them. For example, the "most" starred project is up to date from February only.
Is there any chance you add a composer.json in your project and then publish it on Packagist?
Here is an example: https://github.com/fossar/HTMLawed/blob/master/composer.json
Thanks
Let me know if you have any questions regarding Composer / composer.json or Packagist I'll be happy to answer them :)