Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed Apr 22, 2017
1 parent f3f0c36 commit 6fc726a
Show file tree
Hide file tree
Showing 5 changed files with 69 additions and 30 deletions.
18 changes: 2 additions & 16 deletions .hidev/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,5 @@ package:
headline: HiSite
keywords: yii2, hisite, core
namespace: hisite
description: |
HiSite is a base project for building Yii2 sites from components.
Article describing the idea behind HiSite coming soon...
This project includes:
- [yii2-swiftmailer] - SwiftMailer support
- [phpdotenv] - for `.env` support
- [yii2-menus] - pluggable menus
- [yii2-thememanager] - pluggable themes
[yii2-swiftmailer]: https://github.com/yiisoft/yii2-swiftmailer
[phpdotenv]: https://github.com/vlucas/phpdotenv
[yii2-menus]: https://hiqdev.com/packages/yii2-menus
[yii2-thememanager]: https://hiqdev.com/packages/yii2-thememanager
description: |
HiSite is a base project for building Yii2 web applications from plugins.
43 changes: 29 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,39 +9,54 @@
[![Scrutinizer Code Quality](https://img.shields.io/scrutinizer/g/hiqdev/hisite.svg)](https://scrutinizer-ci.com/g/hiqdev/hisite/)
[![Dependency Status](https://www.versioneye.com/php/hiqdev:hisite/dev-master/badge.svg)](https://www.versioneye.com/php/hiqdev:hisite/dev-master)

HiSite is a base project for building Yii2 sites from components.
HiSite is a base project for building Yii2 web applications from plugins.

## Installation

For installation instructions see template project built with HiSite:

https://github.com/hiqdev/hisite-template

## Idea

HiSIte provides base for creating Yii2 web application.
It is similar in functional to `yii2-app-basic` but in contrast to it
HiSite is a plugin and you require it with composer instead of copy-pasting.

Article describing the idea behind HiSite coming soon...

This project includes:
HiSite includes:

- [yii2-swiftmailer] - SwiftMailer support
- [yii2-swiftmailer] - [SwiftMailer] support
- [phpdotenv] - for `.env` support
- [yii2-menus] - pluggable menus
- [yii2-thememanager] - pluggable themes

[SwiftMailer]: http://swiftmailer.org/
[yii2-swiftmailer]: https://github.com/yiisoft/yii2-swiftmailer
[phpdotenv]: https://github.com/vlucas/phpdotenv
[yii2-menus]: https://hiqdev.com/packages/yii2-menus
[yii2-thememanager]: https://hiqdev.com/packages/yii2-thememanager

## Installation
## Configuration

The preferred way to install this yii2-extension is through [composer](http://getcomposer.org/download/).
This extension is supposed to be used with [composer-config-plugin].

Either run
Also you can use it usual way by copy-pasting config.
Look [src/config/hisite.php] for cofiguration example.

```sh
php composer.phar require "hiqdev/hisite"
```
Available configuration parameters:

or add
- `app.id`
- `app.name`
- `debug.enabled`
- `debug.allowedIps`

```json
"hiqdev/hisite": "*"
```
For more details please see [src/config/params.php].

to the require section of your composer.json.
[composer-config-plugin]: https://github.com/hiqdev/composer-config-plugin
[src/config/hisite.php]: src/config/hisite.php
[src/config/params.php]: src/config/params.php

## License

Expand Down
17 changes: 17 additions & 0 deletions docs/readme/Configuration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
This extension is supposed to be used with [composer-config-plugin].

Also you can use it usual way by copy-pasting config.
Look [src/config/hisite.php] for cofiguration example.

Available configuration parameters:

- `app.id`
- `app.name`
- `debug.enabled`
- `debug.allowedIps`

For more details please see [src/config/params.php].

[composer-config-plugin]: https://github.com/hiqdev/composer-config-plugin
[src/config/hisite.php]: src/config/hisite.php
[src/config/params.php]: src/config/params.php
18 changes: 18 additions & 0 deletions docs/readme/Idea.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
HiSIte provides base for creating Yii2 web application.
It is similar in functional to `yii2-app-basic` but in contrast to it
HiSite is a plugin and you require it with composer instead of copy-pasting.

Article describing the idea behind HiSite coming soon...

HiSite includes:

- [yii2-swiftmailer] - [SwiftMailer] support
- [phpdotenv] - for `.env` support
- [yii2-menus] - pluggable menus
- [yii2-thememanager] - pluggable themes

[SwiftMailer]: http://swiftmailer.org/
[yii2-swiftmailer]: https://github.com/yiisoft/yii2-swiftmailer
[phpdotenv]: https://github.com/vlucas/phpdotenv
[yii2-menus]: https://hiqdev.com/packages/yii2-menus
[yii2-thememanager]: https://hiqdev.com/packages/yii2-thememanager
3 changes: 3 additions & 0 deletions docs/readme/Installation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
For installation instructions see template project built with HiSite:

https://github.com/hiqdev/hisite-template

0 comments on commit 6fc726a

Please sign in to comment.