laravel-custom-helpers
Originally fromnoartem/laravel-vue-skills
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
Weekly Installs
12
Repository
noartem/skillsGitHub Stars
5
First Seen
Jan 30, 2026
Security Audits
Installed on
opencode11
cursor10
gemini-cli9
github-copilot9
codex9
amp9