dvolkering/laravel-odoo-guidelines
Composer 安装命令:
composer require dvolkering/laravel-odoo-guidelines
包简介
Laravel Boost guidelines and skills for Odoo JSON-RPC development.
README 文档
README
Laravel Boost guidelines and skill for Odoo JSON-RPC development via obuchmann/odoo-jsonrpc.
Installation
composer require jouwnaam/odoo-connector
Then run the Boost installer to load the guidelines and skill into your agent:
php artisan boost:install
To update after a package update:
composer update jouwnaam/odoo-connector
php artisan boost:update
Or automate this in your project's composer.json:
{
"scripts": {
"post-update-cmd": [
"@php artisan boost:update --ansi"
]
}
}
What's included
- Laravel Boost guideline — critical rules loaded upfront into your agent's context
- Laravel Boost skill —
odoo-development, full patterns loaded on demand
Project setup
After installing the package, set up the following in your project:
Register casts in AppServiceProvider::boot():
use Obuchmann\OdooJsonRpc\Odoo;
use Obuchmann\OdooJsonRpc\Odoo\Casts\DateTimeCast;
Odoo::registerCast(new DateTimeCast());
Add OdooNotFoundException to app/Odoo/Exceptions/:
namespace App\Odoo\Exceptions;
class OdooNotFoundException extends \RuntimeException {}
Register exceptions in bootstrap/app.php:
use Obuchmann\OdooJsonRpc\Exceptions\{AuthenticationException, OdooModelException};
use App\Odoo\Exceptions\OdooNotFoundException;
->withExceptions(function (Exceptions $exceptions) {
$exceptions->render(function (OdooNotFoundException $e) {
return response()->json(['message' => $e->getMessage()], 404);
});
$exceptions->render(function (OdooModelException $e) {
report($e);
return response()->json(['message' => 'Odoo operation failed.'], 422);
});
$exceptions->render(function (AuthenticationException $e) {
report($e);
return response()->json(['message' => 'Odoo authentication failed.'], 503);
});
})
See the odoo-development skill for full patterns and examples.
dvolkering/laravel-odoo-guidelines 适用场景与选型建议
dvolkering/laravel-odoo-guidelines 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 15 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 03 月 09 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 dvolkering/laravel-odoo-guidelines 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 dvolkering/laravel-odoo-guidelines 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 15
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 19
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-03-09