matriphe/larinfo
Larinfo is a Laravel package that adds a diagnostic endpoint showing app and server details like Laravel and PHP versions, environment, database, and installed packages. It helps developers quickly inspect configuration and runtime information without extra tooling.
Release 4.3.0 is a compatibility release: the only stated change is Laravel 12 support. There are no announced API changes, deprecations, or breaking changes, so day-to-day usage is unchanged from 4.2.x — the work is in dependency verification, not in rewriting integration code.
Minimal steps to adopt it:
composer.json now allows illuminate/* ^12. Run composer why-not <vendor>/<package> 4.3.0 before updating; this surfaces the transitive package still pinning you back.composer update <vendor>/<package> --with-all-dependencies. A plain composer update on a large app often resolves the package but leaves conflicting Illuminate versions in the lock file.php artisan package:discover (or composer dump-autoload), then php artisan config:clear && php artisan cache:clear. If the package ships publishable config or migrations, re-publish only when the changelog says to — never blindly re-publish over customized config.Where to look first: the package's composer.json (version constraints), its test matrix in CI config (does it actually run against 12 or just declare support?), and the diff between 4.2 and 4.3 tags — a one-line release note often hides dependency and test-only changes worth confirming.
First use case: an existing Laravel 11 application upgrading to 12, where this package is one of several dependencies. Validate it in isolation first, then as part of the full upgrade.
Constraint strategy during transition. If your app is still on Laravel 11, do not force 4.3.0 unless the package explicitly retains support for older Illuminate versions. Pin ^4.2 on L11 and ^4.3 on L12 until the upgrade is complete, otherwise you may pull a version whose constraints conflict with your framework.
CI matrix. Run the package version you ship against both Laravel 11 and 12 in CI for one release cycle. A green build on 12 alone does not prove you have not broken an app still on 11 that shares the same codebase.
Resolve through the container. Continue to inject the package's services or use its facade rather than instantiating classes directly. This matters more, not less, after a compatibility release — if the package internals shifted to accommodate L12 (container bindings, deferred providers), direct instantiation bypasses the resolution logic and fails in ways that are hard to trace.
Configuration over code. Any behaviour that differs between environments should live in the published config file, not in conditionals in your own code. After a major-version-adjacent update, this is what lets you verify behaviour by diffing config rather than re-reading the package source.
Test against the package's fakes/helpers. If it provides testing utilities, use them in feature tests so the upgrade shows up as failing assertions rather than runtime errors in staging. Add at least one integration test that touches the package end-to-end and runs on the L12 matrix leg — that is your regression net for future 4.x releases.
Queue and long-running work. If the package dispatches jobs or listeners, confirm after upgrading that serialization still works (payload class names, constructor signatures). Compatibility releases occasionally change internal class namespaces, which breaks jobs already sitting in the queue at deploy time. Drain or restart workers as part of the deploy.
illuminate/* ^12 was added as an allow-list entry or whether older constraints were dropped. The latter is a silent breaking change for apps on 10/11.php -v on every target.composer update, commit composer.lock and confirm the resolved Illuminate versions in php artisan about match what you expect. A half-resolved lock is the most common cause of "it works locally."php artisan config:cache bakes config at build time; if you publish config after caching, changes silently do nothing. Clear caches in the deploy script, after publish steps, not before.package:discover runs. On containerised deploys, ensure this runs during image build or as a release step.composer why-not vendor/package 4.3.0, composer prohibits, and composer show --tree are faster than reading error output. For runtime issues, php artisan about gives a one-screen environment summary worth pasting into bug reports.How can I help you explore Laravel packages today?