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
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,5 +8,7 @@ Run `composer require marktopper/dd 1.*`
8
8
[Laravel](http://laravel.com) already have the `dd` function in its helpers.
9
9
The `dd` function from this package is equal to the one in Laravel 5.
10
10
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