PHP code example of fsans / fms-odata-spec-php

1. Go to this page and download the library: Download fsans/fms-odata-spec-php library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

fsans / fms-odata-spec-php example snippets

text
schema/
  fms-odata-capabilities.json    # Machine-readable capability manifest (version feature matrix)
packages/
  fms-odata-spec-ts/             # Shared TypeScript types package (@fms-odata/spec-ts on npm)
    src/                        # Endpoint, query, auth, metadata, script, container, batch,
                               # webhook, schema, error, version type definitions
  fms-odata-spec-py/             # Shared Python types package (fms-odata-spec on PyPI)
    src/fms_odata_spec/         # Same surface as the TS package, as stdlib dataclasses
    tests/                      # pytest suite
  fms-odata-spec-php/            # Shared PHP types package (fsans/fms-odata-spec-php on Packagist)
    src/                        # Same surface as the TS package, as readonly DTOs and enums
    tests/                      # PHPUnit suite
_research/                      # Gitignored: cloned source repos used as input