11 Commits (abdc6893a6da0980b07343005f5807ecb73f3150)

Author SHA1 Message Date
Jordi Boggiano 4f2e2ec4fc
Update docs for renamed COMPOSER_RUNTIME_BIN_DIR 2 years ago
Jordi Boggiano a8ed352b31
Add docs for the new bin-dir access and bump runtime-api, refs #10402 3 years ago
Helmut Hummel f12a5b8214
Expose path to autoload in a global var for binaries (#10137)
Always create proxy files for package binaries,
to avoid not working binaries in case the package
was installed from a path repository and is itself linked

If the binary is a PHP script, a global variable is now exposed,
which holds the path to the vendor/autoload.php file.
This variable can the be used in the binaries to include this file
without guessing where the path to the vendor folder might be.

Additionally it is now checked on binary creation whether
the reference binary has a shebang and if not, generates
a much simple proxy code, because the stream wrapper code,
that is required for PHP <8 to omit the shebang from the output,
can be skipped.

Fixes: #10119

Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
3 years ago
Kat a34f88cb01
Change `dependencies` to `binaries` 7 years ago
Kat cd27cb1a95
Correct a tiny typo
`project b's` should be `project a's` in the example given
7 years ago
Gabriel Caruso 486e580db2 Clean up documentation 7 years ago
Michael C. 367654b81f Add note about how to put binaries in project root 10 years ago
Jordi Boggiano 0c85ca426d Add code-fences to examples for syntax highlighting 10 years ago
Adán Lobato f9f144862e Fixed minor typo on 'require' property 11 years ago
Arul 1ba62d09e4 Update doc/articles/vendor-binaries.md 12 years ago
David Zuelke 7e1f81dc1e rename vendor-bins.md to vendor-binaries.md 12 years ago