Weave 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
Laravel Updater

Laravel Updater Laravel Package

salahhusa9/laravel-updater

Laravel Updater lets you update your Laravel project with a single command or click. Supports Laravel 11, 12, and 13, with an Artisan command and web interface for running updates, so deployments and version upgrades stay quick and painless.

View on GitHub
Deep Wiki
Context7

Laravel Updater lets you update your Laravel project with a single command or click, removing the manual, error-prone steps normally involved in shipping a new release. It is compatible with Laravel 11, 12 and 13 and installs quickly via Composer, so it drops into existing applications without friction.

  • One command / one click to run the whole update process
  • Supports Laravel 11, 12 and 13
  • Simple Composer installation and configuration
  • Backed by an automated test suite (composer test)
  • Full documentation at salahhusa9.com/laravel-updater
Frequently asked questions about Laravel Updater
How do I upgrade my Laravel 11 app to the latest version using this package?
Run `php artisan updater:update` in your project root. The package handles Composer updates, Laravel core upgrades, and executes pre/post-update pipelines automatically. Always test in staging first with `--dry-run` to preview changes.
Does Laravel Updater support custom pre/post-update scripts?
Yes, the package includes pipeline hooks for custom scripts. Define them in the `updater.php` config file under `pipelines.before` or `pipelines.after`. Use cases include running migrations, clearing caches, or restarting queue workers.
Will this package update third-party Composer packages or just Laravel core?
By default, it updates all dependencies in `composer.json`. To restrict updates, configure the `update_dependencies` flag in the updater config or use the `--core-only` flag to update only Laravel core.
Is Laravel Updater compatible with Laravel 10, 11, and 12?
Yes, the package officially supports Laravel 10, 11, and 12 (as of v1.3.0). Check the [documentation](https://salahhusa9.com/laravel-updater) for version-specific requirements, such as PHP 8.1+ for Laravel 10+.
Can I use this in a CI/CD pipeline like GitHub Actions?
Absolutely. The package is designed for automation. Add a step like `php artisan updater:update --pipeline=production` to your workflow. Use environment variables to control flags (e.g., `--dry-run` for staging).
What happens if the update fails? Can I roll back?
Failed updates won’t modify your codebase until completion. For rollbacks, manually revert Composer changes (`composer update --with-all-dependencies`) or restore from a backup. Future versions may add automated rollback support.
Does Laravel Updater work safely in production?
Use it cautiously in production. Test thoroughly in staging first, and consider using `--dry-run` to validate changes. For zero-downtime deployments, update non-production environments first or use feature flags.
How do I handle environment-specific configurations (e.g., .env) during updates?
The package preserves `.env` files by default. If you need to update environment variables, manually edit `.env` post-update or include a custom script in the `after` pipeline to handle this.
Are there alternatives to Laravel Updater for Laravel version upgrades?
For manual upgrades, use `composer update` + Laravel’s built-in `upgrade` command. Other packages like `spatie/laravel-upgrade` focus on specific tasks (e.g., database migrations). Laravel Updater combines dependency updates, pipelines, and hooks in one tool.
How can I contribute to or report issues with Laravel Updater?
Check the [GitHub repository](https://github.com/salahhusa9/laravel-updater) for contribution guidelines. Report bugs via GitHub Issues, and include your Laravel/PHP versions, error logs, and steps to reproduce. The maintainer actively responds to issues.
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.
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
adachsoft/php-code-style