Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Package Boost Laravel Package

sandermuller/package-boost

Deprecated: sandermuller/package-boost is split into successors. Use package-boost-php for framework-agnostic Composer packages, package-boost-laravel for Laravel packages, or project-boost for PHP apps. Legacy 0.15.x remains for existing installs.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture Fit

  • Laravel/Composer Package Alignment: The package is explicitly designed for Laravel-specific and framework-agnostic Composer packages, making it a direct fit for Laravel-based projects. Its integration with Testbench (for dev-only harnessing) and Laravel Boost (for MCP sync) aligns with Laravel’s ecosystem.
  • AI-Agent Skill Sync: The core value proposition—syncing .ai/skills/ to per-agent directories (Claude, Cursor, GitHub Copilot, etc.)—is highly relevant for TPMs managing Laravel packages that rely on AI-assisted development. The modular skill system (e.g., package-development, cross-version-laravel-support) reduces cognitive load for maintainers.
  • Deprecation Note: The package is deprecated in favor of package-boost-php (framework-agnostic) and package-boost-laravel (Laravel-specific). A TPM should migrate immediately to avoid future breakage, but the core functionality remains identical in successors.

Integration Feasibility

  • Low Friction for Laravel Packages:
    • Requires Testbench (already common in Laravel packages for testing).
    • Zero-config sync for all 9 agents or selective sync via CLI.
    • Automatic .mcp.json generation when Laravel Boost is installed.
  • Framework-Agnostic Support:
    • Works for non-Laravel Composer packages (e.g., PHP libraries) via Testbench.
    • No runtime dependencies—only dev-time tooling.
  • CI/CD Readiness:
    • Drift detection (--check flag) prevents "forgotten syncs" in CI.
    • JSON output enables programmatic validation (e.g., GitHub Actions).

Technical Risk

Risk Area Assessment Mitigation Strategy
Deprecation Migration Active deprecation with clear successors. Immediate migration to package-boost-laravel (Laravel) or package-boost-php (agnostic).
Testbench Dependency Required for sync but only in dev. Document as a dev-only dependency in composer.json.
Skill Collisions Risk of naming conflicts with host/vendor skills. Use package-boost:doctor to validate skill names before sync.
Agent-Specific Quirks Some agents (e.g., Claude) natively use skills; others rely on guidelines. Default to all agents unless selective sync is explicitly needed.
CI Matrix Complexity ci-matrix-troubleshooting skill may add overhead for simple packages. Opt out of this skill if the package doesn’t span Laravel/PHP versions.

Key Questions for TPM

  1. Laravel vs. Agnostic:
    • Is this package Laravel-specific (use package-boost-laravel) or framework-agnostic (use package-boost-php)?
  2. Agent Selection:
    • Should we sync all 9 agents by default, or curate a subset (e.g., only Claude + GitHub Copilot)?
  3. CI Integration:
    • Should --check drift detection be mandatory in CI to enforce syncs?
  4. Skill Customization:
    • Do we need custom skills (e.g., my-package-guidelines.md) beyond the shipped defaults?
  5. Testbench Adoption:
    • Is Testbench already in use? If not, is the dev-time overhead justified for AI sync benefits?
  6. Long-Term Maintenance:
    • Should we pin to a specific successor version (e.g., package-boost-laravel:^1.0) to avoid future breaking changes?

Integration Approach

Stack Fit

  • Primary Stack: Laravel + Composer + Testbench (dev-only).
  • Secondary Stack: Framework-agnostic PHP packages using Testbench for testing.
  • Tooling Compatibility:
    • Laravel Boost: Seamless .mcp.json integration when installed.
    • PHPStan/Pest/PHPUnit: Skills like fixing-phpstan-errors align with modern PHP tooling.
    • GitHub Actions: --check flag enables pre-commit/pre-push hooks or CI gates.

Migration Path

  1. Remove Legacy Package:
    composer remove sandermuller/package-boost
    
  2. Install Successor:
    • For Laravel packages:
      composer require --dev sandermuller/package-boost-laravel
      
    • For framework-agnostic packages:
      composer require --dev sandermuller/package-boost-php
      
  3. Update testbench.yaml:
    providers:
      - SanderMuller\PackageBoost\PackageBoostServiceProvider
    
  4. Run Initial Sync:
    vendor/bin/testbench package-boost:sync
    
  5. Optional: Agent Selection:
    vendor/bin/testbench package-boost:install  # Interactive picker
    
  6. CI Setup: Add a step to validate syncs (example GitHub Actions):
    - name: Check package-boost sync
      run: vendor/bin/testbench package-boost:sync --check
    

Compatibility

Component Compatibility Notes
Laravel 10+ Full support (Testbench + Boost MCP integration).
PHP 8.1+ Required for Testbench and modern PHP tooling.
Testbench Mandatory for sync (but dev-only).
Laravel Boost Optional but enables .mcp.json (Boost MCP integration).
Custom Skills Must follow .ai/skills/<name>/SKILL.md structure with valid frontmatter.
CI Systems Works with GitHub Actions, GitLab CI, etc. (JSON output enables programmatic checks).

Sequencing

  1. Pre-Dev Setup:
    • Add Testbench and package-boost-* to composer.json.
    • Configure testbench.yaml with the provider.
  2. Skill Authoring:
    • Scaffold skills/guidelines:
      vendor/bin/testbench package-boost:new skill my-skill
      vendor/bin/testbench package-boost:new guideline my-conventions
      
  3. Sync Workflow:
    • Local: package-boost:sync (full sync) or package-boost:sync --skills (selective).
    • CI: package-boost:sync --check (fail on drift).
  4. Post-Sync:
    • Commit both .ai/ (source) and generated files (e.g., .claude/, CLAUDE.md).

Operational Impact

Maintenance

  • Low Overhead:
    • No runtime impact—only dev-time tooling.
    • Skills are self-contained in .ai/, reducing merge conflicts.
  • Skill Updates:
    • Shipped skills (e.g., cross-version-laravel-support) are auto-updated via Composer.
    • Custom skills require manual updates but follow a stable frontmatter schema.
  • Deprecation Handling:
    • No breaking changes in successors (package-boost-php/package-boost-laravel).
    • Backward compatibility for existing .ai/ layouts.

Support

  • Troubleshooting:
    • package-boost:doctor validates skill/guideline structure.
    • --check mode surfaces drift in CI before it affects users.
  • Agent-Specific Issues:
    • Claude Code: Native skill support (auto-activatable).
    • Other Agents: Relies on guidelines files (AGENTS.md, CLAUDE.md).
  • Community:
    • Limited stars (1) but directly maintained by Sander Muller (Laravel Boost author).
    • GitHub Discussions/Issues for successor packages (package-boost-php).

Scaling

  • Performance:
    • Sync is O(1) relative to skill/guideline count (no recursive scans).
    • CI drift checks add ~500ms–2s per run (negligible).
  • Multi-Package Workflows:
    • Monorepos: Run package-boost:sync per-package or use global Testbench config.
    • Large Codebases: Selective sync (--skills/--guidelines) reduces I/O.
  • Agent Fan-Out:
    • 9-agent sync is parallelizable (agents read from independent dirs).

Failure Modes

| Failure Scenario | Impact | Mitigation |

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
nexmo/api-specification
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata
splash/openapi