millancore/ladoc
Composer 安装命令:
composer require millancore/ladoc
包简介
Console tool for explore Laravel Documentation
README 文档
README
Ladoc allows you to search and browse Laravel documentation in all its versions.
Installation
Using Composer
Requires PHP 8.2
composer global require "millancore/ladoc"
or Using Docker
docker run -td --name ladoc millancore/ladoc
Uses:
docker exec -it ladoc sh # (and then zz or ladoc)
Usage
Tip: To make it easier to use, create an alias, I usually use
zz.
Search
ladoc <section> <query>
ladoc blade @once
List all sections
simply execute the command without parameters, you will see a list of all the sections (in brackets).
ladoc
Result:
Main List
• [0] Artisan Console (artisan)
• [1] Authentication (authentication)
• [2] Authorization (authorization)
• [3] Laravel Cashier (Stripe) (billing)
• [4] Blade Templates (blade)
...
Filter Main List
To simplify the navigation you can filter main list with '--letter' or -l and initial letter.
ladoc -lv
Result:
Main List | filter: V
• [0] Validation (validation)
• [1] Views (views)
Navigation System
You can navigate through all sections using the indexes in the list.
ladoc 4
Result:
Blade Templates
• [0] Introduction (+)
• [1] Displaying Data (+)
• [2] Blade Directives (+)
...
and continue in that way
ladoc 4 2
Result:
Blade Directives
In addition to template inheritance and displaying data...
────────────────────────
• [0] If Statements
• [1] Switch Statements
• [2] Loops
• [3] The Loop Variable
...
Using the search with index
You can search directly in a section using its index. ladoc 4 @once it's equal to ladoc blade @once.
Versions
Ladoc allows you to search all versions of Laravel, just use --branch or -b to define the version you want to use.
ladoc -b5.2 blade
If no version is set, use the latest one.
Ladoc is an open-sourced software licensed under the MIT license.
millancore/ladoc 适用场景与选型建议
millancore/ladoc 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 16 次下载、GitHub Stars 达 12, 最近一次更新时间为 2023 年 07 月 07 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「documentation」 「php」 「cli」 「console」 「tool」 「laravel」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 millancore/ladoc 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 millancore/ladoc 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 millancore/ladoc 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Bookdown.io With Bootswatch Styles And Prism Syntax Highlighting
Laravel package that generates RESTful API documentation in Markdown based on PHPDoc.
Laravel API documentation generating tool
Slim starter / Slim skeleton package to boost your development with Slim framework
Generates a trait to help ease the access of custom repo methods
Alfabank REST API integration
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 12
- 点击次数: 6
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-07-07
