baer-software/larabeacon
Larablocks Analysis
baer-software/larabeacon works with Laravel 12 and 13 (latest release v3.6.0, Nov 18, 2026).
Laravel 6 to 11 in earlier releases.
Recommendation checks
Solid choiceSolid choice: maintained and up to date, meets 2 of 4 checks; below the bar for Recommended on use.
- Works with Laravel 13, the current version
- Released in the last 12 months (Nov 18, 2026)
- 1,408 downloads a month (needs 10,000)
- 4 GitHub stars (needs 100)
State
Actively maintained- Last stable release: Nov 18, 2026.
- 12 releases in the last 12 months.
- First released: Jan 14, 2021.
- Monthly downloads: 1,408.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 29, 2026.
| Install | |
|---|---|
composer require baer-software/larabeacon |
|
| Latest Version: | v3.6.0 |
| PHP: | ^8.2 |
| Laravel: | 12 · 13 |
| Older releases: | 6 – 11 |
| License: | LGPL-3.0-or-later |
| Last Updated: | Nov 18, 2026 |
| Links: | GitHub · Packagist |
LaraBeacon
LaraBeacon checks Laravel applications for production-readiness problems across performance, security, and reliability. It is a maintained fork of the open-source Enlightn package.
Compatibility
| LaraBeacon | PHP | Laravel | Larastan | PHPStan |
|---|---|---|---|---|
3.x / dev-main |
8.2–8.5 | 12–13 | 3.x | 2.x |
Laravel 13 requires PHP 8.3 or newer.
Installation
composer require --dev baer-software/larabeacon:^3.0
Publish the configuration if you want to customize analyzer selection or baselines:
php artisan vendor:publish --tag=larabeacon
Usage
Run all applicable checks:
php artisan larabeacon
Useful options:
php artisan larabeacon --details
php artisan larabeacon --ci
php artisan larabeacon:baseline
Run an individual analyzer by passing its fully qualified class name:
php artisan larabeacon 'BaerSoftware\LaraBeacon\Analyzers\Security\CSRFAnalyzer'
The framework and PHP support checks fail when security support for the installed Laravel or PHP release ends within support_warning_days (default: 180 days), so upgrades can be planned early. They run in default and --profile=production scans, not in CI mode or the local/ci profiles, because CI runtimes rarely match production.
Some analyzers inspect runtime-specific configuration. Run LaraBeacon in a production-like environment for a complete result. Use --ci for checks that are safe and deterministic in continuous integration.
To inspect headers on a deployed application while running LaraBeacon locally, provide a full guest URL:
LARABEACON_GUEST_URL=https://example.com/login php artisan larabeacon
License findings identify packages that need project-specific review; they do not prove a violation. Add licensed proprietary packages to commercial_packages in the published configuration instead of globally allowing the proprietary license label.
AI coding agents
Claude Code plugin
Install the LaraBeacon plugin in Claude Code:
/plugin marketplace add Baer-Software/larabeacon-claude-plugin
/plugin install larabeacon@larabeacon
The plugin adds a local MCP server (larabeacon_scan, larabeacon_status, larabeacon_checks, larabeacon_baseline and read-only Cloud history tools) and the skills /larabeacon:scan, /larabeacon:setup and /larabeacon:cloud. It needs PHP 8.2+ on the PATH, runs every scan through the project's own php artisan, never reads Cloud credentials and uploads only when you ask. See claude-plugin/README.md and the Claude Code documentation.
The plugin source lives in claude-plugin/ and is tested here (vendor/bin/phpunit tests/ClaudePluginTest.php, claude plugin validate ./claude-plugin --strict). After pushing a version bump of claude-plugin/.claude-plugin/plugin.json (keep Server::VERSION in sync), publish it to Baer-Software/larabeacon-claude-plugin with tools/publish-claude-plugin.sh. Maintainers regenerate claude-plugin/data/checks.json from the private website catalogue with php tools/build-plugin-catalog.php <path to config/checks.php>.
Read Cloud history from scripts as JSON with php artisan larabeacon:cloud status|reports|report [number|latest].
Laravel Boost
LaraBeacon ships Laravel Boost guidelines and a larabeacon-release-check agent skill. After installing LaraBeacon, run php artisan boost:update (or boost:install) so Claude Code, Codex, Cursor and other Boost-supported agents run LaraBeacon, read its JSON findings and fix only confirmed issues within scope.
Remediation and CI workflows
With Core 3.1.0 or newer, export findings locally, choose an environment profile, accept known findings individually, and review deterministic patch proposals:
php artisan larabeacon --profile=local --details
php artisan larabeacon --profile=ci --format=markdown --output=larabeacon.md
php artisan larabeacon:baseline --profile=ci --output=larabeacon-baseline.json --reason="Scheduled remediation"
php artisan larabeacon --profile=ci --baseline=larabeacon-baseline.json --only-new --fail-on=major
php artisan larabeacon --details --fix-preview
GitHub projects can use the bundled action to show findings in GitHub code scanning:
- uses: A-Baer/LaraBeacon@v3
with:
fail-on: major
With report: true, cloud-username and cloud-api-token the action also sends each run with its commit and branch to LaraBeacon Cloud. Install Pro in CI by passing the same project credential to composer install through COMPOSER_AUTH; see Continuous integration.
See the remediation workflow for JSON/SARIF exports, acceptance expiry, GitHub Actions, scan limitations and Cloud comparison behavior. Fix previews never edit source files.
Share feedback, get LaraBeacon Pro
Using LaraBeacon in a Laravel project? I'm looking for the first five external projects willing to try it and share 20 minutes of honest feedback about installation, useful findings, and false positives. In return, I'll provide a free LaraBeacon Pro licence for one project per participant.
Email anthony.baer@baer-software.com with your Laravel version and a short description of your project. Private projects are welcome; you do not need to share your source code. I'll confirm your place and arrange Pro access personally.
Extensions and product boundaries
The public package stays at the repository root so Composer and Packagist can install it directly. Analyzer discovery supports additional namespaces and paths, including the separately implemented private package baer-software/larabeacon-pro.
- LaraBeacon: LGPL-licensed analyzer engine and public checks in this repository.
- LaraBeacon Pro: private Composer package containing 64 clean-room historical Pro checks plus modern Laravel checks.
- LaraBeacon Cloud: self-service SaaS for report history and teams, included with Pro project licences in the private website deployment; repository integrations remain a later extension.
Cloud reporting is disabled by default and only runs with --report. Report payloads contain project metadata and analyzer findings; source snippets and exception stack traces are excluded unless they are enabled through separate explicit configuration flags. The public analyzer remains fully usable offline. See Product architecture for the intended boundaries.
Optional Claude-powered AI work plans turn supported Cloud findings into prioritized actions with verification guidance. One new plan per team per UTC day is shared across projects and members; AI is enabled by default and can be disabled in Team settings; data is sent only for a requested plan, and source code and diagnostic messages are excluded. See AI work plan documentation.
For shared report history and team access, create a LaraBeacon Cloud account. Interactive terminal scans display a short Cloud hint; CI runs, non-interactive or quiet runs, preflight output, and JSON/Markdown/SARIF exports omit it.
LaraBeacon Pro is released separately as a private Composer package and requires LaraBeacon Core ^3.0.
Website
Documentation, the full check catalogue with remediation guidance, pricing and LaraBeacon Cloud live at larabeacon.com. Every finding links to its check page, for example larabeacon.com/checks/fillable-foreign-key.
Development
composer install
composer test
composer format:check
composer validate --strict
The CI matrix covers Laravel 12 and 13 across their supported PHP versions.
Origin and license
LaraBeacon is derived from Enlightn and retains its Git history and copyright. The public package is licensed under the GNU LGPL v3 or later. See NOTICE.md for attribution.
Alternatives to baer-software/larabeacon
Larastan - Discover bugs in your code without running it. A phpstan/phpstan exte...
A PHPStan extension for analysis of Laravel applications and packages.
Checks your composer.lock against the Packagist security advisories database fro...
Automated code analysis for Laravel applications with 73 open-source analyzers c...
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v3.6.0 | ^8.2 | ^12.0| | LGPL-3.0-or-later | |
| v3.5.0 | ^8.2 | ^12.0| | LGPL-3.0-or-later | |
| v3.4.0 | ^8.2 | ^12.0| | LGPL-3.0-or-later | |
| v3.3.1 | ^8.2 | ^12.0| | LGPL-3.0-or-later | |
| v3.3.0 | ^8.2 | ^12.0| | LGPL-3.0-or-later | |
| v3.2.0 | ^8.2 | ^12.0| | LGPL-3.0-or-later | |
| v3.1.0 | ^8.2 | ^12.0| | LGPL-3.0-or-later | |
| v3.0.4 | ^8.2 | ^12.0| | LGPL-3.0-or-later | |
| v3.0.3 | ^8.2 | ^12.0| | LGPL-3.0-or-later | |
| v3.0.2 | ^8.2 | ^12.0| | LGPL-3.0-or-later | |
| v3.0.1 | ^8.2 | ^12.0| | LGPL-3.0-or-later | |
| v3.0.0 | ^8.2 | ^12.0| | LGPL-3.0-or-later | |
| v2.10.0 | ^8.0 | ^9.0| | LGPL-3.0-or-later | |
| v2.9.0 | ^8.0 | ^9.0| | LGPL-3.0-or-later | |
| v2.8.0 | ^8.0 | ^9.0| | LGPL-3.0-or-later | |
| v2.7.0 | ^8.0 | ^9.0| | LGPL-3.0-or-later | |
| v2.6.0 | ^8.0 | ^9.0| | LGPL-3.0-or-later | |
| v2.5.0 | ^8.0 | ^9.0| | LGPL-3.0-or-later | |
| v2.4.0 | ^8.0 | ^9.0| | LGPL-3.0-or-later | |
| v2.3.0 | ^8.0 | ^9.0| | LGPL-3.0-or-later | |
| v2.2.0 | ^8.0 | ^9.0 | LGPL-3.0-or-later | |
| v2.1.0 | ^8.0 | ^9.0 | LGPL-3.0-or-later | |
| v2.0.0 | ^8.0 | ^9.0 | LGPL-3.0-or-later | |
| v1.26.0 | ^7.2| | ^6.0| | LGPL-3.0-or-later | |
| v1.25.0 | ^7.2| | ^6.0| | LGPL-3.0-or-later | |
| v1.24.0 | ^7.2| | ^6.0| | LGPL-3.0-or-later | |
| v1.23.0 | ^7.2| | ^6.0| | LGPL-3.0-or-later | |
| v1.22.1 | ^7.2| | ^6.0| | LGPL-3.0-or-later | |
| v1.22.0 | ^7.2| | ^6.0| | LGPL-3.0-or-later | |
| v1.21.0 | ^7.2| | ^6.0| | LGPL-3.0-or-later |
Showing the latest 30 of 53. See every release on Packagist