This pull-request add a P class, that can be imported to call any function.
It is aligned with laravel/framework where all the string and array helpers functions were migrated to dedicated Arr and Str classes with static methods.
That change also allows to greatly limit the number of imports in a console command class, where https://github.com/laravel/prompts feature would be used.
Note:
The playground and tests files have also been updated to reflect this change.
This pull-request add a P class, that can be imported to call any function. It is aligned with laravel/framework where all the string and array helpers functions were migrated to dedicated
Arr
andStr
classes with static methods.That change also allows to greatly limit the number of imports in a console command class, where https://github.com/laravel/prompts feature would be used.
Note: The playground and tests files have also been updated to reflect this change.