Download the PHP package concretecms/dependency-patches without Composer

On this page you can find all versions of the php package concretecms/dependency-patches. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package dependency-patches

Tests

Dependency patches for concrete5 and Concrete CMS

concrete5 v8 and Concrete CMS v9+ use a lot of third party libraries, installed via Composer.

Internal changes in newer PHP versions require to upgrade some of those composer packages, but some of them are no more compatible with the PHP versions we support, or they haven't been fixed yet.

Some of those packages also have security vulnerabilities that are fixed only in versions we can't use.

This dependency-patches project contains those required patches, so that concrete5 and Concrete CMS can still use them.

How to use

The official releases of concrete5 and Concrete CMS that can be downloaded from https://www.concretecms.org/download already contain the patches included in dependency-patches.

If you use a composer-based concrete5/Concrete CMS installation, the composer.json file of your project needs these settings:

New patches are included only in new versions of dependency-patches: keep it up to date (composer update concretecms/dependency-patches).

Security advisories

Some of the patches fix security vulnerabilities in packages that are no longer updated for the PHP versions we support.

Composer knows nothing about patches: it still considers the patched versions as vulnerable, so composer audit reports them and composer update may refuse to install them.

The audit.ignore setting tells Composer which advisories to ignore: it must be in the composer.json file of your project (it doesn't work in the composer.json files of dependencies).

Keep it aligned with the composer.json of Concrete CMS: the reason next to each advisory says whether it's fixed by dependency-patches or ignored because Concrete CMS doesn't use the affected feature (for example the Twig sandbox). In the second case, ignore it only if your project doesn't use that feature either.

The patches are applied only to the package versions listed in the composer.json of this repository: don't ignore these advisories if you install other versions of those packages.

How to add a new patch

See CONTRIBUTING.md.


All versions of dependency-patches with dependencies

PHP Build Version
Package Version
Requires mlocati/composer-patcher Version ^1.0.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package concretecms/dependency-patches contains the following files

Loading the files please wait ...