|
|
|
|
|
by Navarr
3847 days ago
|
|
It requires at least two PHP files. One that ACTUALLY DOES WHAT YOU WANT and the library files. Since you have to write a new PHP file anyway, composer allows you to pull in the latest version (or update it) with semver constraints. Then you can package it as a phar and call it that way. This is a library, not a file to run, and so it should have composer support. Or, if you don't want to package it as a PHAR - since I have no idea how to do that, you'd implement your version in some directory and probably alias a command to it. TL;DR: This is a library, not a script. It should have composer support. |
|