hardimpactdev/librarian
Larablocks Analysis
hardimpactdev/librarian works with Laravel 11, 12 and 13 (latest release 0.0.3, Sep 25, 2026).
Recommendation checks
Solid choiceSolid choice: maintained and up to date, meets 3 of 4 checks; below the bar for Recommended on use.
- Works with Laravel 13, the current version
- Released in the last 12 months (Sep 25, 2026)
- 11,394 downloads a month (at least 10,000)
- 0 GitHub stars (needs 100)
State
Actively maintained- Last stable release: Sep 25, 2026.
- 3 releases in the last 12 months.
- First released: May 18, 2026.
- Monthly downloads: 11,394.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 27, 2026.
| Install | |
|---|---|
composer require hardimpactdev/librarian |
|
| Latest Version: | 0.0.3 |
| PHP: | ^8.4 |
| Laravel: | 11 · 12 · 13 |
| License: | MIT |
| Last Updated: | Sep 25, 2026 |
| Links: | GitHub · Packagist |
Librarian
Librarian gives Laravel projects a strict documentation structure for keeping product intent, code, and tests aligned.
Installation
composer require hardimpactdev/librarian
php artisan vendor:publish --tag="librarian-config"
Usage
php artisan librarian:init
php artisan librarian:domain node
php artisan librarian:domains:normalize
php artisan librarian:build
php artisan librarian:lint
librarian:init creates the required documentation spine. Use
librarian:domain to add ordered domain documentation, librarian:build to
regenerate package-owned docs and lint them, and librarian:lint in CI for a
read-only consistency check.
Optional Rules
Projects can opt into additional rules without changing Librarian's required
spine. Register rule classes in config/librarian.php:
use HardImpact\Librarian\Linting\Rules\BulletComplexityRule;
use HardImpact\Librarian\Linting\Rules\CompoundNounStackRule;
use HardImpact\Librarian\Linting\Rules\DocumentComplexityRule;
use HardImpact\Librarian\Linting\Rules\LongSectionStructureRule;
use HardImpact\Librarian\Linting\Rules\RequirementSmellRule;
use HardImpact\Librarian\Linting\Rules\SectionOpenerProseRule;
use HardImpact\Librarian\Linting\Rules\SentenceCaseHeadingRule;
use HardImpact\Librarian\Linting\Rules\TableProseComplexityRule;
return [
'path' => base_path('docs'),
'rules' => [
DocumentComplexityRule::class,
RequirementSmellRule::class,
SentenceCaseHeadingRule::class,
LongSectionStructureRule::class,
BulletComplexityRule::class,
SectionOpenerProseRule::class,
TableProseComplexityRule::class,
[
'rule' => CompoundNounStackRule::class,
'options' => [
'accepted_compounds' => [
'project-owned',
],
],
],
],
];
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
License
The MIT License (MIT). Please see License File for more information.
Related Packages
Generate API documentation for humans from your Laravel codebase.✍
Generate beautiful API documentation from your Laravel application
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 0.0.3 | ^8.4 | ^11.0|| | MIT | |
| 0.0.2 | ^8.4 | ^11.0|| | MIT | |
| 0.0.1 | ^8.4 | ^11.0|| | MIT |