elph-studio / laravel-helpers
Laravel helpers and core functionality updates
v0.1.4
2025-12-15 02:38 UTC
Requires
- php: ^8.5
Requires (Dev)
README
Elephant Studio :: Laravel Helpers
- Config
- common_paths - list of default directories where most used files are saved.
- vendor_fixer - list of files that needs modification before production launch.
- Entity
- Environment - Environment
env('APP_ENV')helper entity.
- Environment - Environment
- Helper
- Helper - Additional helpers functions
namespaceToHumanReadable(object|string $class)- convert namespace class to human-readable text.pathToNamespace(string $filePath)- convert exact path to namespace class.collectFiles(string $path, int $maxDepth, array $suffixes = [])- collest specific files list.collectDirectories(string $path, int $maxDepth)- collest directories list in specific path.isJson($string)- validate if data is json type.
- Plain
- Vendor Fixer - Plain PHP script used to override auto-generated files before production launch.
- EnvReader -
env(...)improvement that removes new line at the end of Env variables. - Namespace Generator - converted from path file to namespace class.
- Path Scanner - Path scanner used for directories or files list generation.
- Helper - Additional helpers functions