mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
@ -1,12 +1,12 @@
|
|||||||
Aspect PHP Template Engine
|
Aspect PHP Template Engine
|
||||||
==========================
|
==========================
|
||||||
|
|
||||||
> Composer package: n/a
|
> Composer package: `"bzick/aspect": "dev-master"`. [How to install](./docs/install.md).
|
||||||
|
>
|
||||||
|
> Build status: [](https://travis-ci.org/bzick/aspect)
|
||||||
|
|
||||||
## [About](./docs/about.md) :: [Documentation](./docs/main.md) :: [Benchmark](./docs/benchmark.md) :: [Bugs](https://github.com/bzick/aspect/issues) :: [Articles](./docs/articles.md)
|
## [About](./docs/about.md) :: [Documentation](./docs/main.md) :: [Benchmark](./docs/benchmark.md) :: [Bugs](https://github.com/bzick/aspect/issues) :: [Articles](./docs/articles.md)
|
||||||
|
|
||||||
[](https://travis-ci.org/bzick/aspect)
|
|
||||||
|
|
||||||
Primitive template
|
Primitive template
|
||||||
|
|
||||||
```smarty
|
```smarty
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Ivan Shalganov",
|
"name": "Ivan Shalganov",
|
||||||
"email": "a.beast@gmail.com"
|
"email": "a.cobest@gmail.com"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
@ -24,4 +24,4 @@
|
|||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-0": { "Aspect": "src/" }
|
"psr-0": { "Aspect": "src/" }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,19 +1,15 @@
|
|||||||
Requirements and installation
|
Installation
|
||||||
=============================
|
=============================
|
||||||
|
|
||||||
Для установки через composer тебуется указать в `composer.json` вашего проекта
|
For installation use [composer](http://getcompoer.org). Add in your `composer.json` requirements:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"require": {
|
"require": {
|
||||||
"bzick/aspect": "0.9.*"
|
"bzick/aspect": "dev-master"
|
||||||
},
|
}
|
||||||
"repositories": [
|
|
||||||
{
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/bzick/aspect.git"
|
|
||||||
}]
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
or use shell
|
||||||
|
`composer require bzick/aspect`
|
||||||
|
|
||||||
Для работы шаблонизатора потребуется расширение tokenizer. Для загрузки классов используется `psr-0` формат.
|
If you do not use composer - use `psr-0` format for loading Aspect's classes.
|
||||||
|
Reference in New Issue
Block a user