Skip to content

⚑ Laravel HelperBox packs 600+ advanced helpers β€” SQL optimization, caching, APIs, AI tools, arrays, strings, Blade & model utilities. 🧰 Save time, boost performance & simplify coding for every project, from startups to enterprise

License

Notifications You must be signed in to change notification settings

subhashladumor1/laravel-helperbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

12 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Laravel HelperBox β€” 600+ Powerful Laravel Helper Functions

Make Laravel development faster, cleaner, and more productive. Laravel HelperBox ships 600+ high-quality helper functions across arrays, strings, dates, Blade, Eloquent/database, caching, HTTP/APIs, security, math/algorithms, data science, geo utilities, frontend optimizations, system monitoring, and more.

Built for modern Laravel (9–12), fully framework-native, no macros or monoliths β€” just handy, well-named functions you can drop into any project.

✨ Highlights

  • 600+ unique helpers not in PHP or Laravel core
  • Organized into focused categories in src/Helpers
  • Autoloaded via HelperServiceProvider β€” zero setup
  • Production-ready: caching, DB utilities, security, performance, analytics

πŸ“¦ Installation

composer require subhashladumor/laravel-helperbox

Laravel auto-discovers the provider: Subhashladumor\LaravelHelperbox\HelperServiceProvider.


⚑ Usage (quick taste)

// Arrays
$flat = array_flatten_recursive([[1, [2]], 3]); // [1, 2, 3]

// Strings
$slug = str_slugify('Hello, Laravel HelperBox!'); // "hello-laravel-helperbox"

// Cache
$value = cache_with_jitter('dashboard:data', 300, 15, fn () => fetchExpensive());

// DB (detect N+1)
$report = db_detect_n_plus_one(User::query(), ['posts', 'roles']);

// HTTP
$json = http_get_json('https://api.github.com');

See full category documentation in the docs below.


πŸ—‚ Categories (600+ helpers)

Each helper group lives in src/Helpers/<HelperFile>.php. Explore documentation per category:

Total helpers: 600+ (and growing)


πŸ“– Documentation

All categories link to docs/<HelperFile>.md. Each page includes:

  • Overview and when to use
  • Function index with signatures
  • Usage examples and tips

If you prefer browsing code, see src/Helpers/ β€” every function is wrapped in function_exists guards and can be called directly.


πŸ›  Contributing

Contributions are welcome! Fixes, docs, tests, and new helpers are appreciated.

  1. Fork and create a feature branch
  2. Add or update helpers in src/Helpers/
  3. Include concise PHPDoc blocks and guard with function_exists
  4. Add usage examples to the corresponding docs/<HelperFile>.md
  5. Open a PR with a clear description

πŸ“„ License

MIT Β© Subhash Ladumor

Made with ❀️ for the Laravel community

About

⚑ Laravel HelperBox packs 600+ advanced helpers β€” SQL optimization, caching, APIs, AI tools, arrays, strings, Blade & model utilities. 🧰 Save time, boost performance & simplify coding for every project, from startups to enterprise

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published

Languages