Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/dewtech-technologies/dare-methodnpx agentmods add commands/dewtech-technologies/dare-method/dare-laravel-apiWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/dewtech-technologies/dare-method/dare-laravel-api)<a href="https://agentmods.dev/commands/dewtech-technologies/dare-method/dare-laravel-api"><img src="https://agentmods.dev/badge/commands/dewtech-technologies/dare-method/dare-laravel-api/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/dewtech-technologies/dare-method/dare-laravel-api"><img src="https://agentmods.dev/badge/commands/dewtech-technologies/dare-method/dare-laravel-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01464 |
| Opus 5.5 | $0.00000 | $0.00586 |
| Sonnet 5.5 | $0.00000 | $0.00293 |
| Haiku 4.5 | $0.00000 | $0.00146 |
Grade A, and why
dare-laravel-api scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 212 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/dare-laravel-api
Padrões DARE para APIs REST em Laravel 11 + PHP 8.3. Strict Types, FormRequests, Services, Resources, Repositories, Eloquent + casts, tratamento global de exceções, testes Pest, PHPStan/Larastan nível 8.
Como usar
/dare-laravel-api # audita projeto Laravel
/dare-laravel-api scaffold users # gera CRUD com camadas
/dare-laravel-api migrate-controllers # extrai lógica de Controllers para Services
Stack canônica
- PHP 8.3 com
declare(strict_types=1);em todo arquivo - Laravel 11.x modo API
- PostgreSQL 16 ou MySQL 8
- Pest para testes (ou PHPUnit 11)
- PHPStan + Larastan nível 8
- Pint para formatação
- Sanctum para auth
Layered Design
| Camada | Pasta Laravel |
|---|---|
| Handler | app/Http/Controllers/ |
| Service | app/Services/ |
| Repository | app/Repositories/ |
| Model | app/Models/ |
| Presenter | app/Http/Resources/ |
Controllers (Handler)
<?php declare(strict_types=1);
namespace App\Http\Controllers;
use App\Http\Requests\StoreUserRequest;
use App\Http\Resources\UserResource;
use App\Services\RegisterUser;
final class UserApiController extends Controller
{
public function __construct(private RegisterUser $service) {}
public function store(StoreUserRequest $request): UserResource
{
$user = $this->service->execute($request->validated());
return new UserResource($user);
}
}
Regras:
- Apenas: recebe → valida via FormRequest → chama Service → retorna Resource
- NUNCA: query Eloquent, lógica de negócio, validação inline
FormRequests
final class StoreUserRequest extends FormRequest
{
public function authorize(): bool { return $this->user()->can('create', User::class); }
public function rules(): array {
return [
'email' => ['required', 'email', 'unique:users,email'],
'password' => ['required', 'string', 'min:12'],
];
}
}
Services
Uma operação por classe:
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 212 lines · 0 tokens per session scan A 56719f6dae33
dare-laravel-api is a command published in the GitHub repository dewtech-technologies/dare-method (5 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,464 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other commands, from other repositories
test-suite
Run comprehensive test suite with coverage analysis.
testing
Comprehensive testing setup for FastAPI applications with pytest and async support.
test-gen
Generate comprehensive tests for a specified file with edge cases and error scenarios.
qa-automation
Set up a comprehensive test automation strategy.
test
Generate comprehensive unit tests for files. Use /test or /test --changed.
validate
Command "validate" from Vimalk0703/shipworthy, covering /validate — pre-push validation gate, what this does, steps, when to run and output format.