Open fvsch opened 8 years ago
Thanks for your question. I will further investigate this in October, because September is currently blocked by other projects.
Cheers Fabian
A bit of information for when you can come back to this issue.
The "Publishing Packages" column on the home of https://packagist.org/ has very concise information. There are very few steps involved.
composer.json
in this project.Just a brief update: I did not forget about Kirby-Typography, but the last months brought a lot of work for me. But in the meantime, wp-Typography also brought a lot of interesting updates I want to integrate as best as I can. I will continue my work on the plugin as soon as possible.
Thanks for your patience.
Integration should be easier now with the composer package for PHP-Typography.
Hi,
It would be nice to add a simple
composer.json
file to this repo, to make installation with Composer quite easier.It could look like:
The
"version"
key is optional, and it’s recommended to omit it to let Composer (and Packagist) retrieve the available versions from git tags. Note that Composer will only see those tags which have acomposer.json
file, so if you add a commit with acomposer.json
you will need to add a tag.It could be nice to publish this package on Packagist as well.
Use case
If one wants to install this plugin with Composer today, one needs a verbose definition:
With a
composer.json
in this repo, it gets shorter:And if this package is also published on Packagist, you can just use: