apurba-labs/laravel-agl
Composer 安装命令:
composer require apurba-labs/laravel-agl
包简介
Agentic Governance Layer for Laravel 13
README 文档
README
Laravel AGL is a governance-first framework for building AI-assisted workflows in Laravel applications.
It helps developers add:
- AI reasoning pipelines
- policy enforcement
- human approval flows
- risk scoring
- governance audit trails
to applications powered by Gemma, Ollama, or other LLMs.
Built for:
- enterprise approval systems
- institutional workflows
- compliance-sensitive applications
- local/private AI deployments
Why Laravel AGL?
Most AI integrations focus only on generation.
Laravel AGL focuses on governance.
Instead of allowing agents to operate without boundaries, Laravel AGL introduces:
- policy-aware reasoning
- approval escalation
- audit visibility
- risk-aware execution
This enables organizations to safely integrate AI into sensitive workflows.
Features
- Local AI reasoning support
- Policy-based workflow enforcement
- Human-in-the-loop escalation
- Risk scoring pipelines
- Governance audit logging
- Laravel-native developer experience
- Midnight ZK-proof integration hooks
Installation
composer require apurba-labs/laravel-agl
Quick Start
use ApurbaLabs\Agl\Facades\AGL; $result = AGL::policy('alumni-verification') ->requireZkProof() ->evaluate([ 'name' => 'John Doe', 'graduation_year' => 2010, ]); if ($result['approved']) { // Continue workflow }
Example Use Cases
- Alumni verification systems
- AI-assisted approval workflows
- NGO transparency platforms
- Financial governance pipelines
- Internal compliance systems
Philosophy
Laravel AGL is built around a simple principle:
“AI can recommend. Governance decides.”
Related Projects
| Project | Purpose |
|---|---|
gotihub-agl |
Full governance platform |
gotihub-midnight-bridge |
Midnight ZK-proof integration |
laravel-iam |
Identity & role governance |
laravel-approval-engine |
Approval Workflow Engine |
License
MIT License
apurba-labs/laravel-agl 适用场景与选型建议
apurba-labs/laravel-agl 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 45 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 05 月 14 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「security」 「middleware」 「laravel」 「ai」 「governance」 「compliance」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 apurba-labs/laravel-agl 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 apurba-labs/laravel-agl 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 apurba-labs/laravel-agl 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Shoot aims to make providing data to your templates more manageable
Provide a way to secure accesses to all routes of an symfony application.
It's a barebone security class written on PHP
Slim Framework 3 CSRF protection middleware utilities
Cloudflare Middleware For Guzzle
Contao CMS integrity check for some files
统计信息
- 总下载量: 45
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 55
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-05-14