Skillshub laravel-custom-helpers

Custom Helpers

install
source · Clone the upstream repo
git clone https://github.com/ComeOnOliver/skillshub
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ComeOnOliver/skillshub "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/noartem/skills/laravel-custom-helpers" ~/.claude/skills/comeonoliver-skillshub-laravel-custom-helpers && rm -rf "$T"
manifest: skills/noartem/skills/laravel-custom-helpers/SKILL.md
source content

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