An open API service indexing awesome lists of open source software.

https://github.com/hiqdev/yii2-module-pages

Yii2 Pages Module
https://github.com/hiqdev/yii2-module-pages

hacktoberfest

Last synced: 10 months ago
JSON representation

Yii2 Pages Module

Awesome Lists containing this project

README

          

# Yii2 Pages

**Yii2 Pages Module**

[![Latest Stable Version](https://poser.pugx.org/hiqdev/yii2-module-pages/v/stable)](https://packagist.org/packages/hiqdev/yii2-module-pages)
[![Total Downloads](https://poser.pugx.org/hiqdev/yii2-module-pages/downloads)](https://packagist.org/packages/hiqdev/yii2-module-pages)
[![Build Status](https://img.shields.io/travis/hiqdev/yii2-module-pages.svg)](https://travis-ci.org/hiqdev/yii2-module-pages)
[![Scrutinizer Code Coverage](https://img.shields.io/scrutinizer/coverage/g/hiqdev/yii2-module-pages.svg)](https://scrutinizer-ci.com/g/hiqdev/yii2-module-pages/)
[![Scrutinizer Code Quality](https://img.shields.io/scrutinizer/g/hiqdev/yii2-module-pages.svg)](https://scrutinizer-ci.com/g/hiqdev/yii2-module-pages/)
[![Dependency Status](https://www.versioneye.com/php/hiqdev:yii2-module-pages/dev-master/badge.svg)](https://www.versioneye.com/php/hiqdev:yii2-module-pages/dev-master)

Provides easy creation of pages for site.

Supports:

- different page formats: markdown, twig, PHP
- extracting front matter

The idea is to create general mechanism of site pages.
Pages are taken from and saved to repository.
And you can provide any compatible repository,
so pages can be taken from:

- files (the default repository provided with this package)
- any database
- any API

## Installation

The preferred way to install this yii2-extension is through [composer](http://getcomposer.org/download/).

Either run

```sh
php composer.phar require "hiqdev/yii2-module-pages"
```

or add

```json
"hiqdev/yii2-module-pages": "*"
```

to the require section of your composer.json.

## License

This project is released under the terms of the BSD-3-Clause [license](LICENSE).
Read more [here](http://choosealicense.com/licenses/bsd-3-clause).

Copyright © 2016-2017, HiQDev (http://hiqdev.com/)