open-southeners/extended-laravel
Adds handy Laravel extensions and helper utilities to streamline common tasks and reduce boilerplate. Designed as a lightweight add-on for projects needing extra convenience features beyond the core framework, with simple installation and integration.
config()->number() method to get a numberic value from the config (also handles null values)config()->stringish(), config()->integerish(), etc) will gracefully return default when the key is not found or the value is nullByteUnit Eloquent custom cast when receiving null as valueCollection::templateJoin macroNumber::toByteUnit macrovendor:licenses to generate a list based on all dependencies installed on the projectmake:migration broken from container injectiontoShort to make numbers shorterHelpers::getCacheLockOwner method to get cache atomic locks owner or false otherwise if no lock foundOpensGeneratedFiles traitOpensGeneratedFiles console utility class that opens the generated files with the IDE configured (through APP_IDE environment variable)GeneratorCommand now got replaced from the container using now FileGeneratorCommand (includes all artisan make: commands)Stringable::emailDomain() requiring an argument when none needed usable as Str::of('joe@example.org')->emailDomain()->value()OpenSoutheners\ExtendedLaravel\Helpers class)How can I help you explore Laravel packages today?