Download the PHP package php-di-definitions/definitions-gatherer without Composer
On this page you can find all versions of the php package php-di-definitions/definitions-gatherer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download php-di-definitions/definitions-gatherer
More information about php-di-definitions/definitions-gatherer
Files in php-di-definitions/definitions-gatherer
Package definitions-gatherer
Short Description Collect definition files from composer.json's
License MIT
Informations about the package definitions-gatherer
Definitions gatherer
Install
To install via Composer, use the command below, it will automatically detect the latest version and bind it with ^
.
Gather definitions from files listed in composer.json
.
Usage
Lets say for a project we need [react/event-loop
]() so we create a package that holds a definition file
(etc/di/event-loop.php
) with the following contents:
And reference to it with the following configuration in composer.json
:
Then using this package you can get that definition (and others) and pass it PHP-DI (or another DI that supports the same format):
License
The MIT License (MIT)
Copyright (c) 2023 Cees-Jan Kiewiet
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
All versions of definitions-gatherer with dependencies
php-di-definitions/dummy Version ^1.0
thecodingmachine/safe Version ^2 || ^1.3
wyrihaximus/get-in-packages-composer.jason Version ^2 || ^1.0