Updated package dependencies. Updated README.md
This commit is contained in:
parent
e8f746e706
commit
c06591d44b
15
README.md
15
README.md
@ -11,7 +11,8 @@ Brings the ruby concept of "counter caching" to [Laravel](http://laravel.com/doc
|
||||
[](https://github.com/nodes-php/counter-cache/watchers)
|
||||
[](https://github.com/nodes-php/counter-cache/network)
|
||||
|
||||
## Introduction
|
||||
## 📝 Introduction
|
||||
|
||||
One thing we at [Nodes](http://nodesagency.com) have been missing in [Laravel](http://laravel.com/docs) is the concept of "counter caching".
|
||||
|
||||
Laravel comes "out of the box" with the [increment](http://laravel.com/docs/5.1/queries#updates)/[decrement](http://laravel.com/docs/5.1/queries#updates) methods on it's [Eloquent](http://laravel.com/docs/5.1/eloquent) models. But you'll need to manually execute these methods everytime, you've saved/delete stuff with your model.
|
||||
@ -25,7 +26,7 @@ The difference between this package and Laravel's [increment](http://laravel.com
|
||||
|
||||
This way you're always 100% sure that the value in your "counter cache" column is correct.
|
||||
|
||||
## Installation
|
||||
## 📦 Installation
|
||||
|
||||
To install this package you will need:
|
||||
|
||||
@ -36,27 +37,27 @@ You must then modify your `composer.json` file and run `composer update` to incl
|
||||
|
||||
```
|
||||
"require": {
|
||||
"nodes/counter-cache": "^0.1"
|
||||
"nodes/counter-cache": "^1.0"
|
||||
}
|
||||
```
|
||||
|
||||
Or you can run the composer require command from your terminal.
|
||||
|
||||
```
|
||||
composer require nodes/counter-cache
|
||||
composer require nodes/counter-cache:^1.0
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
## ⚙ Usage
|
||||
|
||||
To do.
|
||||
|
||||
## Developers / Maintainers
|
||||
## 🏆 Credits
|
||||
|
||||
This package is developed and maintained by the PHP team at [Nodes Agency](http://nodesagency.com)
|
||||
|
||||
[](https://twitter.com/nodesphp) [](https://twitter.com/nodesphp)
|
||||
|
||||
### License
|
||||
## 📄 License
|
||||
|
||||
This package is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)
|
||||
|
@ -20,7 +20,7 @@
|
||||
],
|
||||
"require": {
|
||||
"laravel/framework": "5.1.*||5.2.*",
|
||||
"nodes/core": "^0.1"
|
||||
"nodes/core": "1.0"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
|
Loading…
Reference in New Issue
Block a user