laravel-custom-helpers

v2026.09.24

Create and register small, pure helper functions when they improve clarity; keep them organized and tested

GitHub
Install command
npx skhub add noartem/laravel-custom-helpers
Markdown
SKILL.md

Custom Helpers

Create a helper file

// app/Support/helpers.php
function money(int $cents): string { return number_format($cents / 100, 2); }

Autoload

Add to composer.json:

{
  "autoload": { "files": ["app/Support/helpers.php"] }
}

Run composer dump-autoload.

Guidelines

  • Keep helpers small and pure; avoid hidden IO/state
  • Prefer static methods on value objects when domain-specific
Discovery
Tags

No tags published for this skill.

Version
Latest version metadata

Version

v2026.09.24

Published

Sep 24, 2026

Category

Uncategorized

License

Not specified

Source path

skills/laravel-custom-helpers

Default branch

main

Latest commit

0002f35

Tree SHA

3db1f86