minii / core
minii - mini Yii
Installs: 1 224
Dependents: 11
Suggesters: 0
Security: 0
Stars: 3
Watchers: 4
Forks: 0
Open Issues: 0
Type:project
This package is not auto-updated.
Last update: 2022-02-01 13:16:06 UTC
README
minii - mini Yii
Minii is not another framework - it's a testing playground.
General goals:
- split framework into components
- less specific dependencies, remove:
- fxp/composer-asset-plugin (used hiqdev/composer-asset-plugin instead)
- require Yii.php
- more PSR compatibility: PSR-3 and so on
- easier creation of console only applications
Done:
- splitted to parts: core, console, caching, i18n, web, mail, ...
- no more
composer global require fxp/composer-asset-plugin
, usedhiqdev/composer-asset-plugin
- no more
require __DIR__ . '/../../vendor/yiisoft/yii2/Yii.php'
, done with composer - no more classes.php, done with composer
- working for console apps
- compatible with PHAR packaging
Changes to PR to yii2:
- PHAR compatibility
Changes to think of:
- move helpers into other components:
- Console to yii2-console
- Html, Url to yii2-web
- ArrayHelper, StringHelper, Inflector to ???
- Markdown to yii2-markdown
- VarDumper to yii2-debug
- ...
- drop yii\mail\BaseMailer dependency on yii\web\View for it could be used for console only apps
- PSR-3 logging, remove log from core
To do:
- try split tests into components
- much more...
Installation
The preferred way to install this library is through composer.
Either run
php composer.phar require "minii/core"
or add
"minii/core": "*"
to the require section of your composer.json.
License
This project is released under the terms of the BSD-3-Clause license. Read more here.
Copyright © 2015-2016, HiQDev (http://hiqdev.com/minii)