diff --git a/README.md b/README.md index dc0d566..5fa885a 100644 --- a/README.md +++ b/README.md @@ -29,12 +29,12 @@ existing routes. For Laravel 5.1: ```sh - composer require genealabs/laravel-caffeine:~0.2 + composer require genealabs/laravel-caffeine:~0.2.0 ``` For Laravel 5.2: ```sh - composer require genealabs/laravel-caffeine:~0.3 + composer require genealabs/laravel-caffeine:~0.3.0 ``` 2. Add the service provider entry in `config\app.php`: @@ -60,5 +60,5 @@ You can now change the default value in `/app/config/genealabs-laravel-caffeine. `/app/config/genealabs-laravel-caffeine.php` file will revert back to the default 5-minute interval. ## Usage -That was it! It will apply itself automatically where it finds a form -with a `_token` field while pages are open in browsers. +That was it! It will apply itself automatically where it finds a form with a `_token` field, or a meta tag named + "csrf-token", while pages are open in browsers.