Laravel
Skill aldiipratama/dyy-plugin/skills/web-development/laravel
Guides Laravel backend development including routing, controllers, migrations, Eloquent ORM optimization, and form validation. Use when writing Laravel code.From its SKILL.md
npx -y skills add aldiipratama/dyy-plugin --skill laravelAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
0.7 KB, 122 tokens by cl100k_base, as published. Nobody here has run it
Laravel Backend Development Skill
Quick Start
Create a controller with form validation:
# Generate controller and request
php artisan make:controller Api/PostController --api
php artisan make:request Post/StoreRequest
Eloquent Optimization
Avoid N+1 query problems by using eager loading:
// Good - runs 2 queries
$posts = Post::with('comments')->get();
// Bad - runs 1 + N queries
$posts = Post::all();
foreach ($posts as $post) {
$post->comments;
}
What ships with it: 1 file
708 B alongside SKILL.md
- SKILL.id.md708 B