Skip to content

Support Composer for PHP #35

@mamchenkov

Description

@mamchenkov

PHP is one of the most popular programming languages. It powers almost 80% of all websites.

There is a huge developer community and numerous libraries, frameworks, tools, etc. Adding even the most popular of these to the libs/php.json will take forever. And then maintaining the list will also require a huge effort.

I think there is a better and simpler way though. Most of the modern PHP projects use Composer dependency manager. Those that do, have composer.json file in the root of the repository. The structure of this file is very well known and documented.

composer.json usually provides all the necessary information about the project / repository, such as name, URL, type, license, class namespaces, dependencies, and so on. If support for Composer is added to Sourcerer, it will immediately expand the knowledge and understanding of the PHP repositories, without doing any manual work. And it'll be easier to keep things up-to-date too.

I think this can also be implemented as a more or less generic support for dependency management tools, as there are others (npm for Node.js, etc). Extracting this information from the project repositories is a lot easier, faster, and more reliable than maintaining the technology lists manually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions