squaremoonindustries/doctrine-fm-odata-v2-driver
最新稳定版本:1.0.1
Composer 安装命令:
composer require squaremoonindustries/doctrine-fm-odata-v2-driver
包简介
Doctrine DBAL driver for FileMaker via OData API
README 文档
README
A Doctrine DBAL driver for FileMaker using the OData API.
Installation
Install via Composer:
composer require squaremoonindustries/doctrine-fm-odata-v2-driver
Configuration
Configure the connection in your Doctrine setup:
use Doctrine\DBAL\DriverManager; $connectionParams = [ 'driverClass' => \SquareMoonIndustries\DoctrineFMODataDriver\ODataDriver::class, 'host' => 'https://your-filemaker-server.com', // Base URL of FM Server 'user' => 'your_username', 'password' => 'your_password', 'dbname' => 'NameOfYourDatabase', ]; $conn = DriverManager::getConnection($connectionParams);
Requirements
- PHP >= 8.1
- Doctrine DBAL 3.x
- FileMaker Server with OData enabled
Features
- Select, Insert, Update, Delete support via OData
- Parameter binding support (prevent SQL injection)
- Transaction support (simulated or via OData batch if available)
Testing
Run the test suite:
composer test
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-29