You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@ Before getting started with Laravel API Handler, ensure your runtime environment
52
52
53
53
-**Programming Language:** PHP
54
54
-**Package Manager:** Composer
55
-
-**Laravel Version:**10.0 or 11.0 *(may work in older version)*
55
+
-**Laravel Version:**7 or later
56
56
57
57
58
58
### ⚙️ Installation
@@ -187,9 +187,9 @@ public function store()
187
187
188
188
### API Exception Handler
189
189
190
-
#### Laravel 11
190
+
#### Laravel 11-12
191
191
192
-
To configure the API Exception Handler on Laravel 11, add the following configuration to your `boostrap/app.php` file:
192
+
To configure the API Exception Handler on Laravel 11-12, add the following configuration to your `boostrap/app.php` file:
193
193
```php
194
194
use Harrisonratcliffe\LaravelApiHandler\ApiExceptionHandler;
195
195
@@ -204,9 +204,9 @@ use Harrisonratcliffe\LaravelApiHandler\ApiExceptionHandler;
204
204
})
205
205
```
206
206
207
-
#### Laravel 10
207
+
#### Laravel 7-10
208
208
209
-
To configure the API Exception Handler on Laravel 10, add the following configuration inside your render method of your `app/Exceptions/Handler.php` file:
209
+
To configure the API Exception Handler on Laravel 7-10, add the following configuration inside your render method of your `app/Exceptions/Handler.php` file:
210
210
```php
211
211
use Harrisonratcliffe\LaravelApiHandler\ApiExceptionHandler;
0 commit comments