ifresh/filemaker-odata-api

There is no license information available for the latest version (1.2.1) of this package.

Maintainers

Package info

github.com/iFreshDevelopment/filemaker-odata-api

pkg:composer/ifresh/filemaker-odata-api

Statistics

Installs: 198

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 1

1.2.1 2026-03-31 10:07 UTC

This package is auto-updated.

Last update: 2026-03-31 10:08:19 UTC


README

Lightweight PHP client for interacting with FileMaker's OData endpoint using Saloon.

Overview

Installation

composer require ifresh/filemaker-odata-api

Copy environment template and set values:

Basic Usage

use IFresh\FileMakerODataApi\FileMakerODataConnector;

$connector = new FileMakerODataConnector(
    host: 'https://example.com',
    username: 'user',
    password: 'pass',
    database: 'Tasks' // optional default database
);

// Metadata
$databases = $connector->metadata()->getDatabaseNames();

// Records
$recordsResource = $connector->records('Assignees');
$new = $recordsResource->createRecord(['First Name' => 'John', 'Last Name' => 'Doe']);
$single = $recordsResource->fetchSingleRecord($new['PrimaryKey']);

See src/FileMakerODataConnector.php and resources for more methods.

Querying

Use IFresh\FileMakerODataApi\QueryOptions to supply OData query options (filter, orderby, top, skip, select, count).

Tests

This package is tested with Pest. See the test bootstrap and helpers:

Run tests:

composer install --dev
./vendor/bin/pest

Notes for Contributors

License

See composer.json for package metadata: composer.json