elph-studio/laravel-helpers

Laravel helpers and core functionality updates

Installs: 47

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/elph-studio/laravel-helpers

v0.1.4 2025-12-15 02:38 UTC

This package is auto-updated.

Last update: 2025-12-15 02:51:30 UTC


README

Elephant Studio

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.
  • 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.