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

Installer Laravel Package

laravel/installer

Laravel Installer is the official CLI tool for creating new Laravel applications quickly. Install it via Composer and scaffold fresh projects with a single command, using the latest Laravel release and recommended defaults for your environment.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture Fit

The laravel/installer v5.28.1 is a release script update with no functional changes, breaking updates, or new features. Key observations:

  • No Breaking Changes: The release is purely a script update (e.g., CI/CD release automation) with zero impact on core installer functionality (interactive hooks, GitHub Actions OAuth revert, or Symfony compatibility).
  • No New Features: The changelog confirms this is a non-substantive release (e.g., no additions to interactive hooks, presets, or CLI flags).
  • Operational Impact: None. Users of v5.28.0 do not need to update unless explicitly requiring the latest release script (e.g., for dependency management in monorepos).

Updated Use Cases (Unchanged):

  1. Interactive Hooks: Still viable for post-install automation (e.g., php artisan key:generate).
  2. GitHub Actions OAuth: Revert remains intact; no CI/CD adjustments needed.
  3. Custom Presets: Preset-based workflows (e.g., auto-configuring .env) remain functional.

Integration Feasibility

  • Interactive Hooks: Unchanged feasibility; opt-in via CLI flags or presets.
    • Example (still valid):
      laravel new my-project --hook="composer dump-autoload" --preset=./team-preset.json
      
  • GitHub Actions OAuth: No integration impact; revert is preserved.
  • Release Script: No integration impact; affects only Laravel’s internal release process.

Updated Key Integration Points (Unchanged):

  1. CI/CD Hooks:
    - run: laravel new . --non-interactive --hook="npm ci"
    
  2. Local Development Hooks:
    laravel new my-app --interactive --hook="php artisan migrate --seed"
    
  3. Preset Validation:
    // team-preset.json (unchanged)
    {
      "hooks": ["php artisan config:clear"],
      "interactive": { "default": { "APP_ENV": "local" } }
    }
    

Technical Risk

Risk Area Updated Mitigation
Hook Execution Failures Unchanged: Validate hooks in staging; use --debug for troubleshooting.
Interactive Prompts in CI Unchanged: Use --non-interactive in pipelines.
GitHub Actions OAuth Unchanged: Monitor CI logs for OAuth errors (no risk introduced).
Release Script Issues New (Low Risk): If using Laravel’s installer as a dependency, ensure the release script update doesn’t break local builds (e.g., in monorepos). Mitigation: Pin laravel/installer to ^5.28.0 in composer.json.

Critical Questions (Updated):

  1. Is laravel/installer used as a direct dependency in a monorepo or build system? If so, should the version be pinned to 5.28.0 to avoid unintended release script updates?
  2. Are there custom release scripts that might conflict with Laravel’s updated release process? (Unlikely, but verify if using forks or private builds.)
  3. No other changes: All prior questions (e.g., hook security, CI/CD OAuth) remain relevant.

Integration Approach

Stack Fit

Updated Stack Compatibility:

Component Notes
Interactive Hooks Unchanged: Supports Bash/PHP commands via CLI flags or presets.
GitHub Actions OAuth Unchanged: Backward-compatible revert remains intact.
Release Script No stack impact; irrelevant to end users unless managing Laravel’s source directly.

Non-Fit Scenarios (Unchanged):

  • Non-interactive environments (use --non-interactive).
  • Pre-install hook requirements (only post-install hooks are supported).

Migration Path

  1. No Migration Required:
    • v5.28.0 → v5.28.1: Zero action needed for users. Proceed as before.
    • Exception: If pinning to a specific release script version (e.g., for reproducibility), update composer.json:
      "require": {
        "laravel/installer": "^5.28.0"  // Pin to avoid auto-updates
      }
      
  2. Validation Step (Optional):
    • Re-test a critical workflow (e.g., laravel new with hooks) to confirm no regression:
      laravel new test-project --hook="echo 'Test hook'" --debug
      

Compatibility

Component Compatibility Notes
Interactive Hooks Fully compatible with v5.28.0 behavior.
GitHub Actions OAuth Unchanged compatibility.
Release Script No user-facing impact; irrelevant unless managing Laravel’s source.

Sequencing

  1. Pre-requisites (Unchanged):
    • PHP 8.1+, Composer, Node.js (if using npm hooks).
  2. Installation (Unchanged):
    # Example: Unchanged from v5.28.0
    laravel new project-name --interactive --hook="php artisan migrate"
    
  3. Post-Install (Unchanged):
    • Test hooks in staging; use --debug for troubleshooting.

Anti-Patterns (Unchanged):

  • Avoid complex hooks in CI (use --non-interactive).
  • Do not rely on interactive prompts in automated pipelines.

Operational Impact

Maintenance

  • Interactive Hooks: Unchanged maintenance burden; no new risks.
  • GitHub Actions OAuth: Zero maintenance; revert is stable.
  • Release Script: No maintenance impact for end users.

Support

  • Troubleshooting (Unchanged):
    • Hook failures: Use --debug; validate commands manually.
    • CI issues: Use --non-interactive and separate scripts.
  • Team Onboarding (Unchanged):
    • No updates needed; prior workshops/presets remain valid.
  • Escalation Path (Unchanged):
    • Laravel GitHub Issues for bugs (though none expected).

Scaling

  • Performance (Unchanged):
    • Hooks execute post-install; no performance impact from this release.
  • Parallelization (Unchanged):
    • Hooks run sequentially; batch non-critical commands.

Failure Modes

Failure Mode Updated Mitigation
Hook Command Failures Unchanged: Isolate and test hooks in staging.
CI Pipeline Breaks Unchanged: Use --non-interactive; avoid prompts in automated workflows.
Release Script Conflicts New (Low Risk): If using Laravel’s installer as a dependency, pin the version to avoid unintended updates.

Ramp-Up

  • No Ramp-Up Needed:
    • v5.28.1 introduces no learning curve; all prior documentation applies.
    • Exception: If adopting hooks for the first time, refer to v5.28.0’s interactive hook guides.

NO_UPDATE_NEEDED would not apply here, as this is a meaningful update to clarify the non-substantive nature of the release and address the release script risk for advanced use cases (e.g., monorepos). The assessment is updated to reflect v5.28.1’s actual impact.

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.
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope