Ben Ramsey :elephpant_rainbow: · @ramsey
3000 followers · 4916 posts · Server phpc.social

Half of my CI jobs fail due to "Trying to connect to keys.openpgp.org" when using to download tools.

I would use as a Composer dependency, if I could, but it depends on an older version of than my project uses, so I'm installing it with Phive.

But this intermittent error is frustrating me. 🤬

#phive #Psalm #amphp #php

Last updated 2 years ago

radmen · @radmen
13 followers · 76 posts · Server 101010.pl

@ramsey so I tried using in Github Actions and it failed badly. It can't install any of the dependency because it wants to ask to trust the GPG keys. The TTY is not interactive and everything else.

Did you have a similar issue? From what I can tell, the only way to make it work is to pass `--trust-gpg-keys` which is not handy.

#phive

Last updated 2 years ago

Schrank :shopware: · @Schrank
157 followers · 220 posts · Server phpc.social

@ramsey @OndrejMirtes Imho there are three options:
1) you install somehow the plugins and have some kind of autoloading before running phar (I have no clue how to do this)
2) you have a directory `tools` or something with a composer.json for your tools, so you are independent of your project composer
3) you compile your own phar files (which is like 2) but with more hassle :D)

Good luck and I'm happy to read the blog article!
P.S. without plugin is awesome 🙈

#phive

Last updated 2 years ago

Ben Ramsey :php8: · @ramsey
2794 followers · 3927 posts · Server phpc.social

I want to try to get past this, so I'm going to bite the bullet and finally learn how to use .

If I install or via Phive, how to I install plugins like psalm/plugin-phpunit and phpstan/phpstan-phpunit. I can't use `composer require` on these, since they also require the "parent" packages.

@theseer, any pointers?

#phive #psalmphp #Phpstan

Last updated 2 years ago

Mori · @mori
61 followers · 457 posts · Server mastodon.au

Parramatta Library is quite an amazing building now 😁

#parramatta #parra #phive #library

Last updated 2 years ago

Andreas Heigl · @heiglandreas
329 followers · 4080 posts · Server phpc.social

RT @SenseException@twitter.com

I got phive on it
Grab your phars that you need
I got phive on it.
Not messin with deps conflict sh*t
I got phive on it
If security concerns let you bide
I got on it.
It has verifications deep inside

🐦🔗: twitter.com/SenseException/sta

#hitsoftheits #phive

Last updated 4 years ago

Holger Woltersdorf · @hollodotme
67 followers · 1774 posts · Server phpc.social

There is also a ready to run image for where I just added some basic usage docs: github.com/hyperized/docker-ph 😬

RT @localheinz@twitter.com

👋 Now that we can install composer with phive, how about installing phive with homebrew?

/cc @theseer@twitter.com @belanur@twitter.com

github.com/Homebrew/homebrew-c

🐦🔗: twitter.com/localheinz/status/

#docker #phive

Last updated 4 years ago

Andreas Heigl · @heiglandreas
292 followers · 4040 posts · Server phpc.social

RT @CaptainHookPHP@twitter.com

Version 5 of the Cap’n is available as PHAR that is conveniently installable via from @phar_io@twitter.com
Just run `phive install captainhook`

🐦🔗: twitter.com/CaptainHookPHP/sta

#PHARAllTheTools #phive

Last updated 5 years ago