phpc.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A server for PHP programmers & friends. Join us for discussions on the PHP programming language, frameworks, packages, tools, open source, tech, life, and more.

Administered by:

Server stats:

800
active users

Jaapio

If you are reporting an issue for something that's explained in the installation manual. But still don't get the message not to do it.

What else can I do to explain not to install phpDocumentor using composer? It will work, but it will also conflict with your application dependencies. And I'm not going to change my approach, because people do not read...
Applications like phpDocumentor shall be installed as a phar. Not like a library.

!

@jaapio Some packages distribute the phar with the composer package for this reason. Did you already think about this?

@jaapio The installation instructions don't mention composer at the top and packagist.org/?query=phpdocume shows the full package first so it takes some digging to find `/shim` is the recommended composer package.

I'd rather have only one command to keep everything up-to-date, namely composer, and only one system-dependent global, so I've never used phive.

Docker is easier for the developer but harder for the user. A set of `compose` yaml instructions would helpful, assuming they're using Docker.

packagist.orgPackagistThe PHP Package Repository

@zimzat the thing is, composer isn't designed to Install applications. You will get dependency conflicts.

I do get that you want just one command. But in fact you already need multiple.
- install php
- install packages
- install database

So when you want just 1 global tool, it's already not what you want.