Skip to content

Commit 092d195

Browse files
Merge pull request #42
Update `README.md`
2 parents 053e7b5 + 842bd87 commit 092d195

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ using [Composer](https://getcomposer.org):
1616
composer require dragon-code/laravel-route-names
1717
```
1818

19-
Next, replace `Illuminate\Foundation\Application` with `DragonCode\LaravelRouteNames\Application` in the
19+
> [!ATTENTION]
20+
>
21+
> For naming to work correctly, you need to replace the application class otherwise the code will be loaded too late.
22+
>
23+
> To do this, replace `Illuminate\Foundation\Application` with `DragonCode\LaravelRouteNames\Application` in the
2024
`bootstrap/app.php` file.
2125

2226
You can now list the routes, for example by calling the `php artisan route:list` command or by using

0 commit comments

Comments
 (0)