Laravel Package Scaffold
Helps with packages, scaffolding as part of developing backend services and APIs workflows.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add laravel-package-scaffold npx -- -y @trustedskills/laravel-package-scaffold
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"laravel-package-scaffold": {
"command": "npx",
"args": [
"-y",
"@trustedskills/laravel-package-scaffold"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The laravel-package-scaffold skill automates the creation of basic Laravel package structures. It generates essential files including a composer file, routes, migrations, and tests, significantly reducing boilerplate code for new packages. This allows developers to focus on the core logic of their Laravel packages instead of repetitive setup tasks.
When to use it
- When starting a new Laravel package from scratch.
- To quickly establish a basic project structure for a reusable component in your application.
- For rapidly prototyping and experimenting with Laravel package development.
- To standardize the initial setup process across multiple Laravel packages within a team.
Key capabilities
- Generates
composer.jsonfile. - Creates routes for the package.
- Sets up basic migrations.
- Provides example tests.
Example prompts
- "Create a new Laravel package scaffold named 'MyPackage'."
- "Generate a Laravel package structure with migrations and test files."
- "Scaffold a Laravel package called 'AwesomeFeature' including routes."
Tips & gotchas
The skill assumes you have a basic understanding of Laravel project structures. It is intended to provide an initial framework, and further customization will likely be needed based on the specific requirements of your package.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.