Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/yiisoft/di

PSR-11 compatible DI container and injector
https://github.com/yiisoft/di

Fixed example of Contextual containers (#140)

37cdfcbb16d3683bc569a434e9b55537a7c36558 authored about 4 years ago by Ivan Hermanov <[email protected]>
Update dependencies

7d2eea3046af6e23360289cbe2d9df6d9f3e3bb8 authored about 4 years ago by Alexander Makarov <[email protected]>
Apply fixes from StyleCI

c0e8f1781c8088bdcf9d0eca8fa870be0dfd1bac authored about 4 years ago by Alexander Makarov <[email protected]>
Fix tests in PHP 8.0 (#139)

336d71a2e5924d4c51be8b3d4164bbe8456a9407 authored about 4 years ago by Wilmer Arambula <[email protected]>
Update repository meta-files

98d580f407ccd14267ecc53ded95f21d62645503 authored about 4 years ago by Alexander Makarov <[email protected]>
Update Scrutinizer config (#137)

09f14f9dce8b5fb3d93da15c33d0dbd508a1e294 authored about 4 years ago by Alexander Makarov <[email protected]>
Remove ability to get service by Reference (#136)

4afd0e0f4b2a1b991ae60ef255445b83f56d4116 authored over 4 years ago by yiiliveext <[email protected]>
Add test for resolving references in arrays recursively (#133)

See https://github.com/yiisoft/factory/pull/27

72518800164cfddd36f3337ad5201861db10ca7e authored over 4 years ago by Andrii Vasyliev <[email protected]>
Fix #124: resolve references in array (#131)

a191289e76629ddfacb2b99a75dfdbdbdccf0953 authored over 4 years ago by Andrii Vasyliev <[email protected]>
Fix readme

edd35626175ebbd3f41750e765aaf30c7e75fca5 authored over 4 years ago by Alexander Makarov <[email protected]>
Switch to github actions, adjust meta (#128)

98c12144fa17d9401e9bbed48b3fe346463e6476 authored over 4 years ago by Alexander Makarov <[email protected]>
Adjust phpdoc

5a024c34a7c7390098c419adc3ecb63088869def authored over 4 years ago by Alexander Makarov <[email protected]>
Cleanup (#127)

- Add types
- Add strict types
- Fix leftovers in benchmarks
- Remove unused imports
- Remov...

35fd0c3e8abf985d4aab7db3f7571b93af868dc9 authored over 4 years ago by Alexander Makarov <[email protected]>
Minor fix in README.md (#126)

e2a633aaa9419a971290e4a1faa72b95a278274a authored over 4 years ago by thenotsoft <[email protected]>
Improve performance by deferring normalizing definition (#123)

9184a3dcdab6fee24be711ca9e82f2a6e30c169e authored over 4 years ago by yiiliveext <[email protected]>
Remove params from get (#122)

736926c8d498b77d8a148c49b19c8e8f8d59f9aa authored over 4 years ago by yiiliveext <[email protected]>
Sort Container methods, remove hasInstance() and getInstances() (#118)

781db90c4ca20c142237db4bd167b315afd6d502 authored over 4 years ago by yiiliveext <[email protected]>
Fix #107, fix #110: Implement delegate lookup, fix CompositeContainer, implement proxy

086e3b3bbee17902f9b1edc0f60c7ed211b6e684 authored over 4 years ago by Alexander Makarov <[email protected]>
Fix benchmarks, add docs (#114)

dc44ccf37975e469811c99dfbcf69e1c3e80df99 authored over 4 years ago by yiiliveext <[email protected]>
Fix #104: Require deferred provider to list dependencies it provides

19cbdae454171623a4a6d9254934b6a9af8be1bc authored over 4 years ago by yiiliveext <[email protected]>
Add CompositeContainer get params, add tests (#105)

c5026524d8bca0b86acb349674541226150f39e6 authored over 4 years ago by yiiliveext <[email protected]>
Update phpunit/phpunit requirement from ^8.4 to ^9.0 (#103)

648657c0035a52b7a998f5c1706e031a99b9fdf9 authored over 4 years ago by dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Update phpbench/phpbench requirement from ^0.14.0 to ^0.17.0

45d00ed29e3decd35dc1d27bc1eb09b7895bb176 authored over 4 years ago by dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Fix DI docs [skip ci] (#101)

989dbb00fc5a7773228612182c4ffdca0ac93a89 authored over 4 years ago by yiiliveext <[email protected]>
Apply fixes from StyleCI

d71717e281df26d526ab65b1cd4604c69f41b7e4 authored over 4 years ago by Alexander Makarov <[email protected]>
Switch StyleCI to PSR-12

357f76aff1e77927e2efd353fd158683a1fddeda authored over 4 years ago by Alexander Makarov <[email protected]>
Migrate Travis from .org to .com

253389d0f036e0b84a463d483ef152c76549c807 authored almost 5 years ago by Alexander Makarov <[email protected]>
Update PHP, PHPUnit and Travis config

1888d137f427fb015c9a8ce670f9c95e384b6ec0 authored almost 5 years ago by Alexander Makarov <[email protected]>
Add editorconfig, add github as a way to contribute financially

cc1f276b9a95747cce18bbcacdd4d1349067e78b authored almost 5 years ago by Alexander Makarov <[email protected]>
Add Slack notifications config

5419c7d4f829069c3c973491e20a82f6b19ab932 authored almost 5 years ago by Alexander Makarov <[email protected]>
Add sort-packages to composer.json

dd33b4ee884cbc5646577a174b5f8f03541106c9 authored almost 5 years ago by Alexander Makarov <[email protected]>
Update meta files

88ea0566896d5f37c402e6505441d17647afc4bb authored almost 5 years ago by Alexander Makarov <[email protected]>
Add PHP 7.4 as target (#98)

Add PHP 7.4 as target

ba517ef2d1bb5616686d2d49090b74ff0418c31d authored almost 5 years ago by Mehdi Achour <[email protected]>
Add PHP 7.4 as target

283bf1f5bd2c7e9688bd874596b3622fb88a80ea authored almost 5 years ago by Mehdi Achour <[email protected]>
Add Travis notifications config (#97)

89c38700acf785b3972cb2b2f266b3cd64e11448 authored about 5 years ago by Pavel Ivanov <[email protected]>
Minor change of Container::has() method (#96)

See: https://github.com/yiisoft/di/pull/93#pullrequestreview-294864422

c9c9afdd1686b0e040ef3d8f68c434853bfc1667 authored about 5 years ago by Pavel Ivanov <[email protected]>
Generated missing PHPDocs, Readme corrections (#95)

* Generated PHPDocs

* Generated PHPDocs

* Cleanup

* Fixed wrong class names

* Added ...

e85fa8ce01a3789158af8f15e5a14dfa97f83a67 authored about 5 years ago by Dmitriy Derepko <[email protected]>
Closes #88: fall back to autoloader when class is not in container (#93)

1f71d889a9722f5adab2b1b1108381d7523e725f authored about 5 years ago by Pavel Ivanov <[email protected]>
rename functions from getNumer to getNumber (#92)

ded9bb49a47f4a3c12f39e609d92cfa24b6b2cf3 authored about 5 years ago by Denis Warsow <[email protected]>
Minor README fix (#94) [skip ci]

This is not an argument, but a property.
This is misleading when reading.

6431dcb39cff3cf7ee7e8fa43e0d1c48cda8709e authored about 5 years ago by Pavel Ivanov <[email protected]>
Benchmarks of method `Container::has()` (#90)

f5e4b49da7827d62cf9c815ef21d6e6dcca8005f authored about 5 years ago by Pavel Ivanov <[email protected]>
Fix of benchmarks (#89)

1) Fixed namespaces of classes that were moved to package `factory`
2) Fixed bench crashes caus...

0c0cb48c33a4de02168eb929e9835f557f67ad8a authored about 5 years ago by Pavel Ivanov <[email protected]>
Fix #87: fix typo in interface name

7dd3ce1b33e5ac28a7782285671dffba1b2488e1 authored about 5 years ago by Alexander Makarov <[email protected]>
Added test for trivial definition

026e9309dd6728b209c83ed91001b9bdb46fd70e authored over 5 years ago by Andrii Vasyliev <[email protected]>
Fixed tests after adjusting namespaces

99404ed038d9afe6f9135469ac1bf364bf032ba0 authored over 5 years ago by Andrii Vasyliev <[email protected]>
Added test for container builds objects without definition

To be removed or redone if this functionality is changed

5241d5c0c8bd190a6a3df35a00caccf3080e67fb authored over 5 years ago by Andrii Vasyliev <[email protected]>
Adjust naming in docs

7d4f19cc2980a15a3655a4e15cc1ae57754a606f authored over 5 years ago by Alexander Makarov <[email protected]>
Fix #78: Adjust namespaces

d2fa338656921cae743e1fa6a15ada3e43afe486 authored over 5 years ago by Alexander Makarov <[email protected]>
Remove composer.lock

fadeb4d330d724183bc8be4b1963d842cfb5afec authored over 5 years ago by Alexander Makarov <[email protected]>
Add "Interface" suffix to interfaces

e08879e9c015831bd7ff6f735c918786a8d5d650 authored over 5 years ago by Alexander Makarov <[email protected]>
Update meta-confgs from template

7a3a6081acb843438995f3e37dc66330976a577e authored over 5 years ago by Alexander Makarov <[email protected]>
Update templates and configs from template

9061261183cb9c836500a541fcbfbe3293e21909 authored over 5 years ago by Alexander Makarov <[email protected]>
Update .travis.yml

cfad389f8fa2357ef8966b3a7a1178db98a14b88 authored over 5 years ago by razonyang <[email protected]>
Merge pull request #85 from hiqsol/separate-factory

Separate factory

a1ee66fea6d3c78b1b96a48db96ea2044698fb17 authored over 5 years ago by Alexander Makarov <[email protected]>
Raised PHP version requirement to 7.2

b6610f887edc4a842ed22012183794e8a6ce6887 authored over 5 years ago by Andrii Vasyliev <[email protected]>
Updated `composer.lock`

9942cfdaee197fca7c8f333b7e4bba665ced3c8e authored over 5 years ago by Andrii Vasyliev <[email protected]>
Moved exceptions to `factory` package

72e3086c81b8859a4d9bd2fc95bc00f3c6e0912f authored over 5 years ago by Andrii Vasyliev <[email protected]>
Moved support dependency classes to factory package

baa6e6a9e037eab3f6e38f4b4536e1939c404920 authored over 5 years ago by Andrii Vasyliev <[email protected]>
Moved factory with definitions to `factory` package

58e7fbae6685b2a72eee41574e76424e7ac6367b authored over 5 years ago by Andrii Vasyliev <[email protected]>
Merge branch 'master' into new-factory

f33c9ce436a2ad1d2ac59e87c5c974d494b57618 authored over 5 years ago by Andrii Vasyliev <[email protected]>
Add PhpStorm meta to avoid manual type-hinting when using PSR-11 interface

a18f9ac7ce37ef091e66b17cd6310baa31f6569c authored over 5 years ago by Alexander Makarov <[email protected]>
Use Chicken and Egg instead of C and D

34549b1ddfdea7cce90d777e577a0f17a34adbad authored over 5 years ago by Alexander Makarov <[email protected]>
Injector was moved into yiisoft/injector

8adf2c459a9dc51a199360a1463b2e1363b8f63a authored over 5 years ago by Alexander Makarov <[email protected]>
Fixed creating with deps from parent in `Factory`

0413ddacc1c7e7e656ef1d82db1bd9cbc1cdea16 authored over 5 years ago by Andrii Vasyliev <[email protected]>
Added test for factory creating object with dependency in parent container

8821ee324286893595e831da2d6571a889a27690 authored over 5 years ago by Andrii Vasyliev <[email protected]>
Fixed typo: added missing `Factory::$container` property declaration

c30cbe061117440a0f197063097bc1ffadc7a687 authored over 5 years ago by Andrii Vasyliev <[email protected]>
Merge branch 'master' into new-factory

d17293ac7ecac69cbc517e2d8519e19decaa1372 authored over 5 years ago by Andrii Vasyliev <[email protected]>
Fix #79: Remove Initiable (#84)

0503ab88481d5e2183a4092945ae81008b80c1ad authored over 5 years ago by Alexander Makarov <[email protected]>
Removed container hierarchy support (#83)

155292f3eb3875cc11a80768887637a48a34b8ab authored over 5 years ago by Andrii Vasyliev <[email protected]>
Refactored `Factory` to NOT extend `Container`

- `Factory` has to implement `ContainerInterface` to be able to
use `Definition`s that work wi...

d58ba38f2deafd7530229febb65ab64fc8ce0ebf authored over 5 years ago by Andrii Vasyliev <[email protected]>
Refactored `ArrayDefinition` extracted `ArrayBuilder`

ee21ce6537843490ed04d3bfe71efb8a06859c0b authored over 5 years ago by Andrii Vasyliev <[email protected]>
Merge pull request #76 from yiisoft/sam-rework

8ab030ae91808196017146e19f7744c0f1a285a4 authored over 5 years ago by Alexander Makarov <[email protected]>
Rename parentContainer back to rootContainer

a1631148625d01296f6a81b338540c314fd31c02 authored over 5 years ago by Alexander Makarov <[email protected]>
phpdoc cleanup

9e102715b9c9a1afd0b4e5c3748d134f79c73042 authored over 5 years ago by Alexander Makarov <[email protected]>
Make definitions rely on PSR ContainerInterface

5822c3b6ae22f76ae5d0210e75526d43374979e8 authored over 5 years ago by Alexander Makarov <[email protected]>
Elimitated getWithParams() method

See https://www.php-fig.org/psr/psr-11/meta/#71-number-of-parameters-in-get-method:

However, so...

16881fc28fd6388e2b21e39b657da424838a8d13 authored over 5 years ago by Alexander Makarov <[email protected]>
Inline unneded variable

7560f434e66d8f2e52973f9c52bd28e53d6b23f3 authored over 5 years ago by Alexander Makarov <[email protected]>
Rename rootContainer to parentContainer to reflect the purpose better

a7ef4ac716681685a9c1a21965a6c226048e5561 authored over 5 years ago by Alexander Makarov <[email protected]>
Simplify condition

db42adc8be00446eb4605e7f7f96570c702146dd authored over 5 years ago by Alexander Makarov <[email protected]>
Fix phpdoc

8d26b54668561afa98d58c1b8cdf9bd3394788b6 authored over 5 years ago by Alexander Makarov <[email protected]>
Improve type hinting

1034217c9b8ea162a6d50449e2e3cc21bcf84694 authored over 5 years ago by Alexander Makarov <[email protected]>
Remove signature reflection from container callable-definitions, remove hardcoded container IDs from Container

3dbd3ab51fb3d2819755430ab3ea42edadf6aff4 authored over 5 years ago by Alexander Makarov <[email protected]>
Require Container for definitions instead of interface because we rely on Container-specific functionality

7f92c5317565101fa11dc7aa84e961a5639406de authored over 5 years ago by Alexander Makarov <[email protected]>
Micro-optimization

32ac6d9fc032c62626d914fb82d5282b38774acb authored over 5 years ago by Alexander Makarov <[email protected]>
phpdoc fixes

05067acedf31bec1bcc0fd550414c1d6b703a74b authored over 5 years ago by Alexander Makarov <[email protected]>
Simplify code

c2c3c167583f553ee2575cea12f7d286b4822573 authored over 5 years ago by Alexander Makarov <[email protected]>
Lower visibility

22733eb66fb1045422fad94d9f1e66b8dc5effeb authored over 5 years ago by Alexander Makarov <[email protected]>
Split if-else, remove unused import

9ed87e209ce07ad6c6547e84ce30374fae293808 authored over 5 years ago by Alexander Makarov <[email protected]>
Remove unused trait

beba2c3304db400e38eb91369e29601cfb1ab59a authored over 5 years ago by Alexander Makarov <[email protected]>
Fix phpdoc

b55ea9260c2fdea2f3755cad3e7147cd2462748f authored over 5 years ago by Alexander Makarov <[email protected]>
Remove incorrect phpdoc

320651d60c3f2dbe03f17afe429b3971a0cfad92 authored over 5 years ago by Alexander Makarov <[email protected]>
Remove unnecessary code

10c230ff5d3ba9accfebe35937d3e636fe76eee1 authored over 5 years ago by Alexander Makarov <[email protected]>
Inline getRootContainer()

b9134ff4558aaaca182e4203f2b7e236803ff166 authored over 5 years ago by Alexander Makarov <[email protected]>
Fixed mistake: `self` is ok this case too

767b4b23d53cc2914e0b09020690210f0d7584c9 authored over 5 years ago by Andrii Vasyliev <[email protected]>
Merge branch 'master' into sam-rework

# Conflicts:
# src/FactoryInterface.php
# tests/code/InvokeableCarFactory.php
# tests/support/In...

41fe2ee0c83a7c3bd633f473d0687f9bb69774a3 authored over 5 years ago by Alexander Makarov <[email protected]>
Fixed PSR container compatibility

`getWithParams()` is our extension needed for `Factory::create()` with params

9304cf2949ffb5f4f6edc18aa8188346fdcc16a1 authored over 5 years ago by Andrii Vasyliev <[email protected]>
Removed unneeded assertion

dc57c4f366d549cb8d62d123446bc7a83f485fc5 authored over 5 years ago by Alexander Makarov <[email protected]>
Remove dead code

9de6b4d958415ad0093dac3198fb36499fe8d8d9 authored over 5 years ago by Alexander Makarov <[email protected]>
Add more return type hints

41cf3a4b5aa660171b48e006b08f5000b306d5fa authored over 5 years ago by Alexander Makarov <[email protected]>
Added messages to NotFoundException usage

748a438bf3f0da51177020610b9c6cd231f6725c authored over 5 years ago by Alexander Makarov <[email protected]>