🛠️ Collection of resources to improve and extend ways to use laravel.
composer require attla/supportArr examples:
useAttla\Support\ArrasAttlaArr;
useIlluminate\Support\Arr;
// Convert a value to array
AttlaArr::toArray($value); // array
Arr::toArray($value); // array// Randomize positions of an array
AttlaArr::randomized($value); // array
Arr::randomized($value); // arrayStr examples:
useAttla\Support\StrasAttlaStr;
useIlluminate\Support\Str;
useIlluminate\Support\Stringable;
AttlaStr::isBase64($value); // bool
Str::isBase64($value); // bool
(newStringable($value))->isBase64(); // bool
AttlaStr::isHttpQuery($value); // bool
Str::isHttpQuery($value); // bool
(newStringable($value))->isHttpQuery(); // bool
AttlaStr::isSerialized($value); // bool
Str::isSerialized($value); // bool
(newStringable($value))->isSerialized(); // boolThis package is licensed under the MIT license © Octha.