Skip to content

Commit 3eaab9e

Browse files
committed
Update README.md
1 parent f59e448 commit 3eaab9e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,7 @@ Run `composer require marktopper/dd 1.*`
88
[Laravel](http://laravel.com) already have the `dd` function in its helpers.
99
The `dd` function from this package is equal to the one in Laravel 5.
1010

11-
If you wish to override the Laravel 4 function with this one, you have to move the `"marktopper/dd": "1.*"` above the `"laravel/framework": "___"` in the `require` section of your `composer.json`.
12-
And then run `composer dump-autoload`
11+
If you wish to override the Laravel 4 function with this one, please follow those few steps:
12+
- Open `vendor/composer/autoload_files.php`
13+
- Move `$vendorDir . '/marktopper/dd/src/helper.php',` above the `$vendorDir . '/laravel/framework/src/Illuminate/Support/helpers.php',` line
14+
__OBS: Currently this have to be done after each time composer dumps the autoload.__

0 commit comments

Comments
 (0)