6 months ago

Is Laravel moving towards deprecating helpers?

Posted 6 months ago by salamwaddah

We've seen in Laravel 5.8 array and string helpers are deprecated. My concern is; are they moving towards using the direct class in future updates? Will the (example) route() or app() helpers deprecate as well?

// Deprecated array_add($array, $key, $value);

// Use this directly Arr::add($array, $key, $value);

Laravel official release/upgrade guide:

Please sign in or create an account to participate in this conversation.