Loading...
 
Skip to main content

Composer Dependencies not on Packagist

Solution: we picked https://asset-packagist.org/

The rest of this page is kept for posterity.



Goal: Discuss and determine a long term solution for managing dependencies that are not on Packagist.org

Context

Requirements

Essential

Nice to have


Note

  • We should still try to get packages on Packagist.org because
    • The more the libs are visible and used, the better the odds for improved support


Options


Pros & Cons Support List

composer-asset-plugincomposer-bowerbower through node & npm
is single command no
is php onlyyes no
works with Satis
supports Semantic Versioning / Composer Stability Flags
adds values in composer.json automaticallyno
adds values in installed.json automaticallyyes


Suggests for libraries that we can influence

We have to offer ready to use and compiled files to packagist. But some developers don't like to place these files with source code, because it can generate a lot conflicts when working as a team. A very nice solution is to use Travis to build from source and upload files to release section on github. The following .travis.yml generate a jar file and upload it to github.

Examples of libs unavailable from Packagist.org

Success

Requests

These are in various states (in process, blocked by technical issue, or ignored)

Refused