yiisoft/yii-core


CA CE CIS DIT
    +global\m150207_210500_i18n_init 0 0 2 2
    yii\base\Action 4 5 6 2
    yii\base\ActionEvent 3 1 4 2
    yii\base\ActionFilter 0 3 8 2
    yii\base\Aliases 1 2 5 0
    yii\base\Application 8 22 55 3
    yii\base\BaseObject 0 3 9 0
    yii\base\Behavior 1 1 4 1
    yii\base\Component 1 7 23 1
    yii\base\Controller 3 9 25 2
    yii\base\DynamicModel 0 3 10 3
    yii\base\ErrorHandler 5 14 14 2
    yii\base\Event 1 1 18 1
    yii\base\InlineAction 1 1 3 3
    yii\base\Model 5 13 42 2
    yii\base\Module 2 11 37 2
    yii\base\Request 0 4 6 2
    yii\base\RequestEvent 1 0 0 2
    yii\base\Response 1 1 4 2
    yii\base\Security 1 5 22 2
    yii\base\StaticInstanceTrait 1 3 1
    yii\base\ValidationEvent 1 0 0 2
    yii\behaviors\AttributeBehavior 0 2 6 2
    yii\behaviors\AttributeTypecastBehavior 0 7 15 2
    yii\behaviors\AttributesBehavior 0 2 6 2
    yii\behaviors\BlameableBehavior 0 3 5 3
    yii\behaviors\CacheableWidgetBehavior 0 5 8 2
    yii\behaviors\OptimisticLockBehavior 0 5 5 3
    yii\behaviors\SluggableBehavior 0 6 9 3
    yii\behaviors\TimestampBehavior 0 3 5 3
    yii\data\ArrayDataProvider 0 2 3 3
    yii\data\BaseDataProvider 0 4 15 2
    yii\data\DataFilter 0 10 28 3
    yii\data\Pagination 2 4 19 1
    yii\data\Sort 2 8 18 1
    yii\exceptions\ErrorException 1 2 3 2
    yii\exceptions\Exception 2 0 1 2
    yii\exceptions\ExitException 2 0 2 2
    yii\exceptions\InvalidArgumentException 17 0 1 2
    yii\exceptions\InvalidCallException 5 0 1 2
    yii\exceptions\InvalidConfigException 35 0 1 3
    yii\exceptions\InvalidRouteException 2 0 1 4
    yii\exceptions\InvalidValueException 1 0 1 2
    yii\exceptions\NotSupportedException 2 0 1 3
    yii\exceptions\UnknownClassException 0 0 1 3
    yii\exceptions\UnknownMethodException 2 0 1 2
    yii\exceptions\UnknownPropertyException 2 0 1 3
    yii\exceptions\UserException 1 0 0 3
    yii\helpers\BaseConsole 0 3 48 0
    yii\helpers\BaseFormatConverter 0 2 6 0
    yii\helpers\BaseHtml 0 10 69 0
    yii\helpers\BaseHtmlPurifier 0 15 4 0
    yii\helpers\BaseIpHelper 0 0 4 0
    yii\helpers\BaseJson 0 8 5 0
    yii\helpers\BaseUrl 0 3 11 0
    yii\helpers\BaseVarDumper 0 6 3 0
    yii\helpers\BaseYii 0 7 21 0
    yii\helpers\Console 0 0 0 1
    yii\helpers\FileHelper 2 0 0 2
    yii\helpers\FormatConverter 2 0 0 1
    yii\helpers\Html 2 0 0 1
    yii\helpers\HtmlPurifier 1 0 0 1
    yii\helpers\IpHelper 1 0 0 1
    yii\helpers\Json 2 0 0 1
    yii\helpers\Url 1 0 0 1
    yii\helpers\VarDumper 1 0 0 1
    yii\helpers\Yii 48 0 0 1
    yii\http\Cookie 1 0 8 1
    yii\http\CookieCollection 0 3 17 1
    yii\http\FileStream 1 6 20 1
    yii\http\HeaderCollection 1 1 16 1
    yii\http\MemoryStream 1 1 15 1
    yii\http\MessageTrait 0 7 18
    yii\http\ResourceStream 0 3 18 1
    yii\http\UploadedFile 1 7 18 1
    yii\http\Uri 0 3 20 1
    yii\i18n\DbMessageSource 0 8 6 3
    yii\i18n\Formatter 0 22 53 2
    yii\i18n\GettextFile 0 0 2 2
    yii\i18n\GettextMoFile 0 1 3 3
    yii\i18n\GettextPoFile 0 0 2 3
    yii\i18n\I18N 4 6 11 0
    yii\i18n\Locale 3 1 25 0
    yii\i18n\MessageFormatter 1 3 3 2
    yii\i18n\MessageSource 1 1 4 2
    yii\i18n\PhpMessageSource 1 2 3 3
    yii\i18n\TranslationEvent 1 0 6 2
    yii\i18n\Translator 1 6 9 2
    yii\mail\BaseMailer 0 6 15 2
    yii\mail\BaseMessage 0 4 3 1
    yii\mail\Composer 1 5 8 1
    yii\mail\SendEvent 1 1 5 2
    yii\mail\Template 1 2 9 1
    yii\profile\FileTarget 0 2 4 3
    yii\profile\LogTarget 0 3 4 3
    yii\profile\Profiler 0 4 9 2
    yii\profile\Target 1 0 5 2
    yii\requirements\YiiRequirementChecker 0 0 16 0
    yii\serialize\CallbackSerializer 0 2 5 1
    yii\serialize\IgbinarySerializer 0 0 2 1
    yii\serialize\JsonSerializer 0 1 3 1
    yii\serialize\PhpSerializer 0 0 2 1
    yii\test\ActiveFixture 0 5 6 5
    yii\test\ArrayFixture 0 1 3 3
    yii\test\BaseActiveFixture 0 2 5 4
    yii\test\DbFixture 0 3 2 3
    yii\test\FileFixtureTrait 0 2 0
    yii\test\Fixture 1 0 7 2
    yii\test\FixtureTrait 0 3 7
    yii\test\InitDbFixture 0 2 8 4
    yii\validators\BooleanValidator 2 2 4 3
    yii\validators\CompareValidator 0 3 7 3
    yii\validators\DateValidator 1 7 15 3
    yii\validators\DefaultValueValidator 0 1 3 3
    yii\validators\EachValidator 1 5 5 3
    yii\validators\EmailValidator 0 3 6 3
    yii\validators\ExistValidator 0 6 9 3
    yii\validators\FileValidator 0 6 20 3
    yii\validators\FilterValidator 0 3 5 3
    yii\validators\ImageValidator 0 2 10 4
    yii\validators\InlineValidator 0 1 5 3
    yii\validators\IpValidator 0 4 21 3
    yii\validators\NumberValidator 3 3 9 3
    yii\validators\RangeValidator 0 6 6 3
    yii\validators\RegularExpressionValidator 0 3 3 3
    yii\validators\RequiredValidator 1 2 5 3
    yii\validators\SafeValidator 0 0 2 3
    yii\validators\StringValidator 3 2 11 3
    yii\validators\UniqueValidator 1 7 8 3
    yii\validators\UrlValidator 0 3 6 3
    yii\validators\Validator 3 7 23 2
    yii\validators\client\ClientValidator 0 0 1 1
CA (Afferent Coupling)
Number of unique incoming dependencies from other artifacts of the same type.
CE (Efferent Coupling)
Number of unique outgoing dependencies to other artifacts of the same type.
CID (Class Interface Size)
Number of non private methods and properties of a class: CIS = public(NOM + VARS)
Measures the size of the interface from other parts of the system to a class.
Depth of Inheritance Tree
Depth of inheritance to root class
{
    "name": "yiisoft/yii-core",
    "type": "library",
    "description": "Yii Framework Core",
    "keywords": [
        "yii",
        "framework"
    ],
    "homepage": "http://www.yiiframework.com/",
    "license": "BSD-3-Clause",
    "authors": [
        {
            "name": "Qiang Xue",
            "email": "qiang.xue@gmail.com",
            "homepage": "http://www.yiiframework.com/",
            "role": "Founder and project lead"
        },
        {
            "name": "Alexander Makarov",
            "email": "sam@rmcreative.ru",
            "homepage": "http://rmcreative.ru/",
            "role": "Core framework development"
        },
        {
            "name": "Maurizio Domba",
            "homepage": "http://mdomba.info/",
            "role": "Core framework development"
        },
        {
            "name": "Carsten Brandt",
            "email": "mail@cebe.cc",
            "homepage": "http://cebe.cc/",
            "role": "Core framework development"
        },
        {
            "name": "Timur Ruziev",
            "email": "resurtm@gmail.com",
            "homepage": "http://resurtm.com/",
            "role": "Core framework development"
        },
        {
            "name": "Paul Klimov",
            "email": "klimov.paul@gmail.com",
            "role": "Core framework development"
        },
        {
            "name": "Dmitry Naumenko",
            "email": "d.naumenko.a@gmail.com",
            "role": "Core framework development"
        },
        {
            "name": "Boudewijn Vahrmeijer",
            "email": "info@dynasource.eu",
            "homepage": "http://dynasource.eu",
            "role": "Core framework development"
        }
    ],
    "support": {
        "source": "https://github.com/yiisoft/yii-core",
        "issues": "https://github.com/yiisoft/yii-core/issues",
        "forum": "http://www.yiiframework.com/forum/",
        "wiki": "http://www.yiiframework.com/wiki/",
        "irc": "irc://irc.freenode.net/yii"
    },
    "minimum-stability": "dev",
    "require": {
        "php": ">=7.1.0",
        "ext-mbstring": "*",
        "ext-ctype": "*",
        "lib-pcre": "*",
        "yiisoft/arrays": "^3.0@dev",
        "yiisoft/strings": "^3.0@dev",
        "psr/log-implementation": "^1.0",
        "psr/container-implementation": "^1.0",
        "psr/simple-cache-implementation": "^1.0",
        "ext-json": "*"
    },
    "require-dev": {
        "yiisoft/di": "^3.0@dev",
        "yiisoft/log": "^3.0@dev",
        "yiisoft/view": "^3.0@dev",
        "yiisoft/rbac": "^3.0@dev",
        "yiisoft/cache": "^3.0@dev",
        "yiisoft/db": "^3.0@dev",
        "yiisoft/db-mysql": "^3.0@dev",
        "yiisoft/db-sqlite": "^3.0@dev",
        "yiisoft/yii-console": "^3.0@dev",
        "yiisoft/yii-web": "^3.0@dev",
        "yiisoft/active-record": "^3.0@dev",
        "ezyang/htmlpurifier": "^4.6",
        "phpunit/phpunit": "^7.2",
        "hiqdev/composer-config-plugin": "^1.0@dev"
    },
    "suggest": {
        "yiisoft/di": "DI container implementation",
        "yiisoft/log": "Logging implementation",
        "yiisoft/cache": "Caching implementation",
        "ezyang/htmlpurifier": "Version '^4.6' is required at 'yii\\helpers\\HtmlPurifier' and for 'html' data format support (e.g. 'yii\\i18n\\Formatter:asHtml()')",
        "yiisoft/db": "Required for i18n DbMessageSource",
        "ext-intl": "Required for advanced i18n"
    },
    "conflict": {
        "yiisoft/yii2": "*",
        "yiisoft/yii2-dev": "*"
    },
    "autoload": {
        "psr-4": {
            "yii\\": "src",
            "yii\\tests\\": "tests"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "yii\\build\\": "build"
        }
    },
    "extra": {
        "branch-alias": {
            "dev-master": "3.0.x-dev"
        },
        "config-plugin": {
            "defines": "config/defines.php",
            "params": "config/params.php",
            "common": "config/common.php",
            "console": "$common",
            "web": "$common",
            "build": ["$console", "config/build.php"],
            "tests": ["$console", "config/tests.php"]
        }
    }
}
yiisoft/yii-core dependencies

Yii Framework

Yii is a modern framework designed to be a solid foundation for your PHP application.

It is fast, secure and efficient and works right out of the box pre-configured with reasonable defaults. The framework is easy to adjust to meet your needs, because Yii has been designed to be flexible.

Latest Stable Version Total Downloads Build Status Code Coverage Scrutinizer Quality Score Code Climate

Installation

Documentation

Community

Contributing

The framework is Open Source powered by an excellent community.

You may join us and:

Reporting Security issues

Please refer to a special page at the website describing proper workflow for security issue reports.

Directory Structure

build/               internally used build tools
docs/                documentation
src/                 core framework code
tests/               tests of the core framework code

Spreading the Word

Acknowledging or citing Yii is as important as direct contributions.

In presentations

If you are giving a presentation or talk featuring work that makes use of Yii and would like to acknowledge it, we suggest using our logo on your title slide.

In projects

If you are using Yii as part of an OpenSource project, a way to acknowledge it is to use a special badge in your README:

Yii

If your code is hosted at GitHub, you can place the following in your README.md file to get the badge:

[![Yii](https://img.shields.io/badge/Powered_by-Yii_Framework-green.svg?style=flat)](http://www.yiiframework.com/)