Skip to content
Back to skills

Custom Helpers

ASecurity

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

  • 147 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added June 6, 2026
toolsphp

Security analysis

A100/100

Scanned June 6, 2026

npx -y skills add jpcaparas/superpowers-laravel --skill custom-helpers --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Custom Helpers?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Custom Helpers
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jpcaparas-custom-helpers/badge)](https://www.skillsdirectory.com/skills/jpcaparas-custom-helpers)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: laravel:custom-helpers
description: Create and register small, pure helper functions when they improve clarity; keep them organized and tested
---

# Custom Helpers

## Create a helper file

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

## Autoload

Add to `composer.json`:

```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

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.