The package provides definition syntax. Definition is describing a way to create and configure a service or an object.

Overview

Yii Definitions


Latest Stable Version Total Downloads Build status Scrutinizer Code Quality Code Coverage Mutation testing badge static analysis type-coverage

The package ...

Requirements

  • PHP 7.4 or higher.

Installation

The package could be installed with composer:

composer require yiisoft/definitions --prefer-dist

General usage

Testing

Unit testing

The package is tested with PHPUnit. To run tests:

./vendor/bin/phpunit

Mutation testing

The package tests are checked with Infection mutation framework with Infection Static Analysis Plugin. To run it:

./vendor/bin/roave-infection-static-analysis-plugin

Static analysis

The code is statically analyzed with Psalm. To run static analysis:

./vendor/bin/psalm

License

The Yii Definitions is free software. It is released under the terms of the BSD License. Please see LICENSE for more information.

Maintained by Yii Software.

Support the project

Open Collective

Follow updates

Official website Twitter Telegram Facebook Slack

Comments
  • [Bug] All exceptions are caught for optional dependencies

    [Bug] All exceptions are caught for optional dependencies

    What steps will reproduce the problem?

    Having the sample code:

    class A
    {
        public function __construct()
        {
            throw new RuntimeException('Something happened on initialization');
        }
    }
    
    class B
    {
        public function __construct(private ?A $a = null)
        {
        }
    }
    
    $container->get(B::class);
    

    What is the expected result?

    The exception is thrown

    What do you get instead?

    Instance of B with a wrong dependency, and no exception is thrown. It' a hell to debug this situation.

    Additional info

    This code is responsible for the specified behavior. I'm pretty sure container definitions must not have a deal with application-level exceptions. In my opinion in the case when a dependency has a definition, and an exception is thrown on its resolving, this exception must not be catched by container/definition resolver, and doesn't matter if this dependency is optional or not.

    status:under discussion type:bug 
    opened by viktorprogger 4
  • Update rector/rector requirement from ^0.14.3 to ^0.15.0

    Update rector/rector requirement from ^0.14.3 to ^0.15.0

    Updates the requirements on rector/rector to permit the latest version.

    Release notes

    Sourced from rector/rector's releases.

    Released Rector 0.15

    We released a new getrector.org website, including new documentation - https://getrector.org/documentation :tada: You can already find a few new sections there.

    This release brings the most significant changes in type safety. Few rules in type declaration worked with docblock types and completed type as strict. These rules lead to crashing code with invalid types. Instead, we've been splitting these rules into smaller and specific ones (Unix style!) that handle exact strict type declarations. This release finalizes the removal of these weak rules.

    Welcome new type declaration rules that are safe and work with 100 % known strict types ↓

    New Features :partying_face:

    • [TypeDeclaration] Add AddParamTypeBasedOnPHPUnitDataProviderRector + remove too narrow KnownArrayParamTypeInferer (#3104)
    • [TypeDeclaration] Add AddParamTypeSplFixedArrayRector (#3105)
    • [TypeDeclaration] Add AddReturnTypeDeclarationFromYieldsRector (#3114)
    • [TypeDeclaration] Add ReturnTypeFromReturnDirectArrayRector, ReturnTypeFromStrictConstantReturnRector, ReturnTypeFromStrictTypedCallRector (#3125)
    • [TypeDeclaration] Add AddParamTypeFromPropertyTypeRector (#3109)
    • Add list-rules command for tool interoperabtility (#3087)
    • Add SimplifyEmptyCheckOnEmptyArrayRector #7485 (#3069), Thanks @​JohJohan!
    • [Php80] Add ClassOnThisVariableObjectRector (#3093)

    Bugfixes :bug:

    • [Php80] Skip possible numeric string switch cond with all integer case cond on ChangeSwitchToMatchRector (#3067)
    • Skip MakeTypedPropertyNullableIfCheckedRector for constructor assigment. (#3074), Thanks @​Wohlie!
    • Fix StrContainsRector when strpos offset is set (#3086), Thanks @​ajgarlag!
    • [TypeDeclaration] Handle return self on TypedPropertyFromStrictGetterMethodReturnTypeRector on php 8.0 feature enabled (#3088)
    • [Php80] Do not remove existing attribute on NestedAnnotationToAttributeRector (#3116)
    • [CodeQuality] Skip from non-typed param on SimplifyEmptyCheckOnEmptyArrayRector (#3115)
    • [DeadCode] Fix RemoveJustPropertyFetchRector to skip concat assigns (#3123)
    • [DeadCode] Skip re-assigned variable in RemoveJustPropertyFetchRector (#3124)
    • [Php74] Register TypedPropertyFromAssignsRector to php74 config set (#3127)
    • docs (https://github.com/rectorphp/rector-src/commit/571a1e6067342b21c2baaa10976103915299b0c6)
    • [TypeDeclaration] Skip property names in TypedPropertyFromStrictConstructorRector (#3128)
    • [TypeDeclaration] Skip doctrine collection type (#3130)
    • [TypeDeclaration] Use existing MakePropertyTypedGuard on TypedPropertyFromStrictConstructorRector (#3131)
    • [PHP 8.1] Add other methods to ClassFromEnumFactory (https://github.com/rectorphp/rector-src/commit/d2064068055fb25da2c245515a6c6260fbe6a597)
    • simplify PHPStanStaticTypeMapper (#3143), Thanks @​staabm!
    • Fix foreach key evaluation for SimplifyForeachToArrayFilterRector. (#3100), Thanks @​Wohlie!
    • [Php55] Handle crash on curly parentheses delimiter on PregReplaceEModifierRector (#3144)
    • [Php73] Add closure bindings for SimplifyForeachToArrayFilterRector. (#3146), Thanks @​Wohlie!

    ... (truncated)

    Commits
    • fbfbe49 Rector 0.15.0
    • ab11a00 Updated Rector to commit 25dec6b32504d747ff62193ff4704144ca10b040
    • 3d977e0 Updated Rector to commit 16680c4f102d8155d94340307e8ec02c03ac42ed
    • c390fa8 Updated Rector to commit 4e9214f313edac16dbb4ff6ac48da2d1d706a360
    • 113d4ed Updated Rector to commit 58069c319777423311a4877733c01c54394c3a27
    • 2a553a9 Updated Rector to commit 3dea2bdc4de76d217cc2d67cce4ccb41d2b4c7f3
    • 83accd4 Updated Rector to commit efd09bbb400b2382be39effc206551e6964fa5ea
    • 642698e Updated Rector to commit e8a252fe262cac38eb74b9584f78e2daee006ffa
    • 82eda1f Updated Rector to commit d670b4e50deb738f15d77c6a4f7fe773791c871f
    • 670f999 Updated Rector to commit 1f46de3de704155da47e3b8d87312224cb5550d6
    • Additional commits viewable in compare view

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies php 
    opened by dependabot[bot] 3
  • Remove extending InvalidConfigException with ContainerExceptionInterface

    Remove extending InvalidConfigException with ContainerExceptionInterface

    | Q | A | ------------- | --- | Is bugfix? | ✔️ | New feature? | ❌ | Breaks BC? | ✔️

    It's wrong behaviour to extend InvalidConfigException with ContainerExceptionInterface. A config error is not container error by meaning.

    status:code review 
    opened by xepozz 3
  • Implement injection of dependencies in the CallableDefinition in this package itself instead of using hardcoded Injector

    Implement injection of dependencies in the CallableDefinition in this package itself instead of using hardcoded Injector

    We use a hardcoded Injector to resolve CallableDefinition dependencies. I think it is not a good idea. We should implement this in the package itself. We can use DefinitionResolver::resolveArray() and DefinitionExtractor::fromMethod() methods for this purpose if we make DefinitionExtractor::fromMethod() public.

    type:enhancement 
    opened by yiiliveext 3
  • Update vimeo/psalm requirement from ^4.22 to ^5.3

    Update vimeo/psalm requirement from ^4.22 to ^5.3

    Updates the requirements on vimeo/psalm to permit the latest version.

    Release notes

    Sourced from vimeo/psalm's releases.

    5.3.0

    What's Changed

    Features

    Fixes

    Docs

    Internal changes

    New Contributors

    Full Changelog: https://github.com/vimeo/psalm/compare/5.2.0...5.3.0

    Commits

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies php 
    opened by dependabot[bot] 2
  • Update rector/rector requirement from ^0.14.3 to ^0.15.1

    Update rector/rector requirement from ^0.14.3 to ^0.15.1

    Updates the requirements on rector/rector to permit the latest version.

    Release notes

    Sourced from rector/rector's releases.

    Released Rector 0.15.1

    New Features :partying_face:

    • [CodingStyle] Split SplitGroupedConstantsAndPropertiesRector to SplitGroupedClassConstantsRector and SplitGroupedPropertiesRector (#3158)
    • Add compatible phpstan/phpdoc-parser 0.15 (#3157)

    Bugfixes :bug:

    • Skip short class names in UseClassKeywordForClassNameResolutionRector (#3156)
    • [Core] Fix crash indentation on indent(\t, 1) config (#3155)
    • [TypeDeclaration] Skip union mixed on TypedPropertyFromAssignsRector (#3160)
    • [TypeDeclaration] Handle Anonymous class extends existing class in union (#3161)
    • Add skipped Rectors to list-rules (#3162)
    • [TypeDeclaration] Remove PhpDocTypeChanger->changeVarType() on TypedPropertyFromAssignsRector (#3163)
    • [TypeDeclaration] Skip multi return types on ReturnTypeFromReturnDirectArrayRector (#3164)
    • [CodeQuality] Skip stdClass in IssetOnPropertyObjectToPropertyExistsRector, as always nested (#3166)
    • Do not apply property promotion to parameters with the SensitiveParameter attribute (#3165), Thanks @​mbabker!
    • [TypeDeclaration] Skip void return on AddArrowFunctionReturnTypeRector (#3167)
    • [Php82] Skip ReadOnlyClassRector on has parent non-readonly class (#3169), Thanks @​Yoann-TYT!
    • [CodeQuality] Handle BooleanNot on SimplifyEmptyCheckOnEmptyArrayRector (#3170)
    • [Core] Use FullyQualifiedObjectType and ThisType detection for local property fetch on PropertyFetchAnalyzer (#3172)
    • [CodeQuality] Skip non typed property no default value never assigned on SimplifyEmptyCheckOnEmptyArrayRector (#3171)
    • [PHPStanStaticTypeMapper] Handle Nullable Type on UnionType on UnionTypeMapper when possible (#3173)
    • [CodeQuality][CodingStyle] Handle crash on SimplifyIfReturnBoolRector+NewlineAfterStatementRector+StringClassNameToClassConstantRector (#3175)
    • [DeadCode] Skip Class Constant used in Enum on RemoveUnusedPrivateCla… (#3174), Thanks @​eliashaeussler!
    • [Php80] Do not remove Parameter attribute on ClassPropertyAssignToConstructorPromotionRector (#3179)
    • [PHP 8.1] Skip trait in NullToStrictStringFuncCallArgRector as unknown context (#3180)
    • Fix trait property visibility in PrivatizeFinalClassPropertyRector (#3182)
    • [Php81] Allow normal variable in trait on NullToStrictStringFuncCallArgRector (#3181)
    Commits
    • bf52972 Rector 0.15.1
    • 2458235 Updated Rector to commit c21cafaf90cab17ae26900679f70461063ab791e
    • 7c46ba0 Updated Rector to commit c21cafaf90cab17ae26900679f70461063ab791e
    • a6cbd60 Updated Rector to commit f20fd6e9daf997a2116f34a305d2c9afa72d393a
    • 12fbd94 Updated Rector to commit 30bc9ac21ab0e2acbd617954ed6358557514e188
    • 04232cb Updated Rector to commit d80ddd193deeebd47e765dfb58d300faaedc25b4
    • d205913 Updated Rector to commit de008767d91ad6cd5ed77bdc259454665e4bbde9
    • 5a40891 Updated Rector to commit de008767d91ad6cd5ed77bdc259454665e4bbde9
    • 7924f69 Updated Rector to commit de008767d91ad6cd5ed77bdc259454665e4bbde9
    • 5c3e98d Updated Rector to commit bea2e12a6d6e7a7b1eb1f7b6f82a0ec1e7c21f2c
    • Additional commits viewable in compare view

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies php 
    opened by dependabot[bot] 2
  • Update vimeo/psalm requirement from ^4.22 to ^5.2

    Update vimeo/psalm requirement from ^4.22 to ^5.2

    Updates the requirements on vimeo/psalm to permit the latest version.

    Release notes

    Sourced from vimeo/psalm's releases.

    5.2.0

    What's Changed

    Features

    Fixes

    Internal changes

    Typos

    New Contributors

    Full Changelog: https://github.com/vimeo/psalm/compare/5.1.0...5.2.0

    Commits
    • fb685a1 Merge pull request #8890 from weirdan/enum-forbidden-methods
    • 9db0eb3 InvalidEnumMethod requires PHP8.1+
    • 19a1005 Forbid most magic methods on enums
    • ca0b2a1 Merge pull request #8883 from weirdan/unused-messages-duplicates
    • 32eaf12 Prevent duplicate (Possibly)UnusedMethod/(Possibly)UnusedProperty
    • 114552f Merge pull request #8882 from theofidry/feature/update-cpu-core-counter
    • 4a6bfea Upgrade CpuCoreCounter
    • ef02ded Merge pull request #8833 from theofidry/feature/cpu-counter
    • af549fa Merge pull request #8854 from kkmuffme/fix-unsafe-file_get_contents
    • 2a45f18 Merge pull request #8870 from lptn/add-missing-sodium-functions
    • Additional commits viewable in compare view

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies php 
    opened by dependabot[bot] 2
  • Update vimeo/psalm requirement from ^4.22 to ^5.1

    Update vimeo/psalm requirement from ^4.22 to ^5.1

    Updates the requirements on vimeo/psalm to permit the latest version.

    Release notes

    Sourced from vimeo/psalm's releases.

    5.1.0

    What's Changed

    Deprecations

    Features

    Fixes

    Docs

    New Contributors

    Full Changelog: https://github.com/vimeo/psalm/compare/5.0.0...5.1.0

    Commits
    • 4defa17 Merge pull request #8774 from bdsl/report-by-issue-type-severity
    • 1dbdf78 Code style fix
    • ad57727 Sort issue by position in codebase in ByIssueLevelAndTypeReport if level & ty...
    • a29f65e Fix too lax function visibility in test
    • 6693421 Code style fix
    • 5423983 Fix error in ByIssueLvelAndTypeReport heading
    • 699ee34 Indent heredoc in test
    • d6c7c86 Remove unecassary subheadings in error levels documentation
    • cd18cdc Re-order list of errors in docs
    • 9e63bf6 Minor code edits in ByIssueLevelAndType
    • Additional commits viewable in compare view

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies php 
    opened by dependabot[bot] 2
  • Update vimeo/psalm requirement from ^4.22 to ^5.0

    Update vimeo/psalm requirement from ^4.22 to ^5.0

    Updates the requirements on vimeo/psalm to permit the latest version.

    Release notes

    Sourced from vimeo/psalm's releases.

    Psalm 5

    Welcome to Psalm 5!

    There's an accompanying post on psalm.dev, written by @​muglug & the current maintainers of Psalm.

    What's Changed

    Removed

    Features

    ... (truncated)

    Commits
    • 4e177bf Merge pull request #8790 from malarzm/patch-1
    • 7877570 Remove CallMapTest.php from Psalm self-analysis
    • 28188d1 Remove unfinished sentence
    • 6fff6df Merge pull request #8788 from weirdan/fix-xml-report-crashes-on-8.1
    • 874eb7d Fix crashes when XML report is used on PHP 8.1
    • 9d597cf Merge pull request #8782 from weirdan/check-runtime-requirements
    • 94dac9f Merge pull request #8783 from weirdan/bump-slevomat-coding-standard
    • ed36f2c Bump slevomat/coding-standard
    • 8fa35c2 Variables should outlive namespaces (#8779)
    • 05b8e0e Replace all references to static variables when moving class (#8780)
    • Additional commits viewable in compare view

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies php 
    opened by dependabot[bot] 2
  • Remove dead code

    Remove dead code

    | Q | A | ------------- | --- | Is bugfix? | ❌ | New feature? | ❌ | Breaks BC? | ❌ | Fixed issues | -

    Seems this code actual for PHP <= 7.4.

    status:code review 
    opened by vjik 2
  • In methods of array definitions add autowiring and improve variadic arguments support

    In methods of array definitions add autowiring and improve variadic arguments support

    | Q | A | ------------- | --- | Is bugfix? | ❌ | New feature? | ✔️ | Breaks BC? | ✔️ | Fixed issues | -

    Yii DI Container tests pass.

    status:code review 
    opened by vjik 2
  • Update vimeo/psalm requirement from ^4.22 to ^5.4

    Update vimeo/psalm requirement from ^4.22 to ^5.4

    Updates the requirements on vimeo/psalm to permit the latest version.

    Release notes

    Sourced from vimeo/psalm's releases.

    5.4.0

    What's Changed

    Features

    Fixes

    Internal changes

    Full Changelog: https://github.com/vimeo/psalm/compare/5.3.0...5.4.0

    Commits

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies php 
    opened by dependabot[bot] 1
Releases(3.0.2)
  • 3.0.2(Dec 2, 2022)

  • 3.0.1(Nov 8, 2022)

  • 3.0.0(Nov 4, 2022)

    • Chg #49: Change result format of DefinitionStorage::getBuildStack() method to definition IDs array (@vjik)
    • Enh #41: Raise minimum PHP version to 8.0 and refactor code (@xepozz, @vjik)
    • Enh #44: In methods of array definitions add autowiring and improve variadic arguments support (@vjik)
    • Enh #46: In definition validator add a check of method name in array definitions (@vjik)
    • Bug #48: Definition validator returns false positive result on empty string (@vjik)
    Source code(tar.gz)
    Source code(zip)
  • 2.1.0(Oct 25, 2022)

  • 2.0.0(Jun 17, 2022)

    • New #37: Make method DefinitionValidator::validateArrayDefinition() public (@vjik)
    • Chg #30: Rename method ArrayDefinition::setReferenceContainer() to withReferenceContainer() and make it immutable (@vjik)
    • Chg #37: Remove method ParameterDefinition::isBuiltin() (@vjik)
    Source code(tar.gz)
    Source code(zip)
Owner
Yii Software
Yii Framework and packages
Yii Software
Rori-PHP is custom non production web application framework inspired by Laravel syntax

Rori-PHP is custom non production web application framework inspired by Laravel syntax. A web framework provides a structure and starting point for your application allowing you to focus on creating something amazing.

UnknownRori 5 Jul 28, 2022
An Hydrator class that can be used for filling object from array and extracting data from objects back to arrays.

Hydrator namespace: Meow\Hydrator Library that can hydrate (fill object with data from array) and extract data from object back to array. Installation

Meow 2 Feb 3, 2022
Symprowire is a PHP MVC Framework based and built on Symfony, using the ProcessWire CMS as DBAL and Service Provider.

Symprowire - PHP MVC Framework for ProcessWire 3.x Symprowire is a PHP MVC Framework based and built on Symfony using ProcessWire 3.x as DBAL and Serv

Luis Mendez 7 Jan 16, 2022
A easy way to install your basic yii projetc, we have encrypt database password in phpfile, my class with alot funtions to help you encrypt and decrypt and our swoole server install just run ./yii swoole/start and be happy!

Yii 2 Basic Project Template with swoole and Modules Yii 2 Basic Project Template is a skeleton Yii 2 application best for rapidly creating small proj

null 3 Apr 11, 2022
A set of PSR-7 object decorators providing useful convenience methods

Slim-Http Slim PSR-7 Object Decorators Installation It's recommended that you use Composer to install this library. $ composer require slim/http This

Slim Framework 136 Sep 29, 2022
Slim Framework HTTP cache middleware and service provider

Slim Framework HTTP Cache This repository contains a Slim Framework HTTP cache middleware and service provider. Install Via Composer $ composer requir

Slim Framework 107 Dec 15, 2022
This package provides some basic methods to implement a self updating functionality for your Laravel application. Already bundled are some methods to provide a self-update mechanism via Github or some private repository via http.

This package provides some basic methods to implement a self updating functionality for your Laravel 5 application. Already bundled are some methods to provide a self-update mechanism via Github.

Holger Lösken 311 Dec 31, 2022
This package provides a high performance HTTP server to speed up your Laravel/Lumen application based on Swoole.

This package provides a high performance HTTP server to speed up your Laravel/Lumen application based on Swoole.

Swoole Taiwan 3.9k Jan 8, 2023
High performance HTTP Service Framework for PHP based on Workerman.

webman High performance HTTP Service Framework for PHP based on Workerman. Manual https://www.workerman.net/doc/webman Benchmarks https://www.techempo

walkor 1.3k Jan 2, 2023
Slim Framework flash messages service provider

Slim Framework Flash Messages This repository contains a Slim Framework Flash messages service provider. This enables you to define transient messages

Slim Framework 143 Dec 11, 2022
A Slim Framework Flash messages service provider

Slim Framework Flash Messages This repository contains a Slim Framework Flash messages service provider. This enables you to define transient messages

Slim Framework 143 Dec 11, 2022
LODSPeaKr is a framework for creating Linked Data applications in a simple and easy way

LODSPeaKr is a framework for creating Linked Data applications in a simple and easy way. You can see several applications created using LODSPeaKr.

Alvaro Graves 31 Jun 23, 2020
Leaf is a PHP framework that helps you create clean, simple but powerful web apps and APIs quickly and easily.

Leaf is a PHP framework that helps you create clean, simple but powerful web apps and APIs quickly and easily. Leaf introduces a cleaner and much simpler structure to the PHP language while maintaining it's flexibility. With a simple structure and a shallow learning curve, it's an excellent way to rapidly build powerful and high performant web apps and APIs.

Leaf Framework 706 Jan 3, 2023
🐘🎓📝 PHP Library providing an easy way to spellcheck multiple sources of text by many spellcheckers

PHP-Spellchecker Check misspellings from any text source with the most popular PHP spellchecker. About PHP-Spellchecker is a spellchecker abstraction

Philippe SEGATORI 257 Jan 2, 2023
Provides TemplateView and TwoStepView using PHP as the templating language, with support for partials, sections, and helpers.

Aura View This package provides an implementation of the TemplateView and TwoStepView patterns using PHP itself as the templating language. It support

Aura for PHP 83 Jan 3, 2023
Kit is a lightweight, high-performance and event-driven web services framework that provides core components such as config, container, http, log and route.

Kit What is it Kit is a lightweight, high-performance and event-driven web services framework that provides core components such as config, container,

null 2 Sep 23, 2022
Gracili is a PHP Application Template to quickly create a new Project

Gracili What is Gracili? Gracili is a PHP Application Template to quickly create a new Project. Using this template can save you a lot of time. With t

Björn Pfoster 1 May 12, 2021
QPM, the process management framework in PHP, the efficient toolkit for CLI development. QPM provides basic daemon functions and supervision mechanisms to simplify multi-process app dev.

QPM QPM全名是 Quick(or Q's) Process Management Framework for PHP. PHP 是强大的web开发语言,以至于大家常常忘记PHP 可以用来开发健壮的命令行(CLI)程序以至于daemon程序。 而编写daemon程序免不了与各种进程管理打交道。Q

Comos 75 Dec 21, 2021
Provides database storage and retrieval of application settings, with a fallback to the config classes.

Provides database storage and retrieval of application settings, with a fallback to the config classes.

CodeIgniter 4 web framework 47 Dec 29, 2022