|
1 | 1 | # GeoRestrict Middleware for Laravel |
2 | 2 |
|
3 | | -[](https://github.com/bespredel/GeoRestrict/blob/master/README.md) |
4 | | -[](https://github.com/bespredel/GeoRestrict/blob/master/README_RU.md) |
5 | | -[](https://github.com/bespredel/GeoRestrict/blob/master/LICENSE) |
| 3 | +[](https://github.com/BespredeL/geo-restrict/blob/master/README.md) |
| 4 | +[](https://github.com/BespredeL/geo-restrict/blob/master/README_RU.md) |
| 5 | +[](https://github.com/BespredeL/geo-restrict/blob/master/LICENSE) |
6 | 6 | [](https://packagist.org/packages/bespredel/geo-restrict) |
7 | 7 |
|
8 | | -[](https://github.com/bespredel/GeoRestrict/releases) |
| 8 | +[](https://github.com/BespredeL/geo-restrict/releases) |
9 | 9 | [](https://packagist.org/packages/bespredel/geo-restrict) |
10 | 10 | [](https://php.net) |
11 | 11 | [](https://laravel.com) |
@@ -201,15 +201,15 @@ class ExampleProvider extends AbstractGeoProvider { |
201 | 201 | 1. Добавьте middleware в нужные маршруты: |
202 | 202 |
|
203 | 203 | ```php |
204 | | -Route::middleware(['geo.restrict'])->group(function () { |
| 204 | +Route::middleware(['geo-restrict'])->group(function () { |
205 | 205 | // ... |
206 | 206 | }); |
207 | 207 | ``` |
208 | 208 |
|
209 | 209 | 2. Или используйте alias: |
210 | 210 |
|
211 | 211 | ```php |
212 | | -Route::get('/secret', 'SecretController@index')->middleware('geo.restrict'); |
| 212 | +Route::get('/secret', 'SecretController@index')->middleware('geo-restrict'); |
213 | 213 | ``` |
214 | 214 |
|
215 | 215 | ## Кастомизация |
@@ -243,4 +243,4 @@ resources/lang/it/messages.php |
243 | 243 |
|
244 | 244 | ## Лицензия |
245 | 245 |
|
246 | | -MIT |
| 246 | +Этот пакет представляет собой программное обеспечение с открытым исходным кодом, лицензированное по лицензии MIT. |
0 commit comments