diff --git a/.gitignore b/.gitignore index 3a693c9..4f07b87 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ composer.phar vendor/ +.idea # Commit your application's lock file http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file # You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file diff --git a/README.md b/README.md index 8bfe5ba..a6a6445 100644 --- a/README.md +++ b/README.md @@ -13,5 +13,5 @@ This module will install it's own table, and quickly allow you to: ![Growl notification](docs/main.png) -A documentation is available in the [docs](docs/TOC.md) folder of this repository. +A documentation is available in the [docs](docs/README.md) folder of this repository. You can also check this [live demo](https://machour.idk.tn/yii2-kitchen-sink/site/yii2-notifications). diff --git a/commands/NotificationsController.php b/commands/NotificationsController.php index cdcb78d..f2a19f9 100644 --- a/commands/NotificationsController.php +++ b/commands/NotificationsController.php @@ -25,6 +25,6 @@ public function actionClean() $records_deleted = $class::deleteAll($criteria); - echo "$records_deleted obselete notifications removed\n"; + echo "$records_deleted obsolete notifications removed\n"; } } diff --git a/docs/Contributors.md b/docs/Contributors.md index 6757b7f..6fb34e3 100644 --- a/docs/Contributors.md +++ b/docs/Contributors.md @@ -1,4 +1,3 @@ - Contributors ------------ diff --git a/docs/Installation.md b/docs/Installation.md index 90eac42..81cf8c2 100644 --- a/docs/Installation.md +++ b/docs/Installation.md @@ -6,13 +6,13 @@ The preferred way to install this extension is through [composer](http://getcomp Either run ``` -php composer.phar require --prefer-dist machour/yii2-notifications "@dev" +php composer.phar require machour/yii2-notifications "*" ``` or add ``` -"machour/yii2-notifications": "@dev" +"machour/yii2-notifications": "*" ``` to the require section of your `composer.json` file. \ No newline at end of file diff --git a/docs/TOC.md b/docs/README.md similarity index 82% rename from docs/TOC.md rename to docs/README.md index 42a5344..2d764ce 100644 --- a/docs/TOC.md +++ b/docs/README.md @@ -1,3 +1,5 @@ +# yii2-notifications documentation + * [Installation](Installation.md) * [Concept](Concept.md) * [Configuration](Configuration.md)