darkside666 / nofrixion-api-client
Nofrixion API client in PHP
Installs: 1 296
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/darkside666/nofrixion-api-client
Requires
- php: >=7.4
- league/oauth2-client: ^2.7
- wikimedia/composer-merge-plugin: ^2.1
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.64
This package is auto-updated.
Last update: 2025-10-25 11:16:01 UTC
README
⚠️ Note: This is a beta version of the Nofrixion API client library. Features and functionality may change in future updates.
Installation
To install the Nofrixion API client library, use Composer:
composer require darkside666/nofrixion-api-client
Usage Examples
You can find usage examples in the /example folder:
- Authorization Example: See auth.phpfor implementing authorization.
- API Client Example: See test.phpfor using the Nofrixion API client.
Updating Client API Code
While it's generally not necessary to manually update the client API code, if you need to re-generate the API classes, you can follow the steps below:
- 
Install OpenAPI Generator Ensure you have NPM installed, then install the OpenAPI Generator CLI globally: # install new npm install @openapitools/openapi-generator-cli -g # or update existing npm update @openapitools/openapi-generator-cli -g 
- 
Generate the Nofrixion\Client Code Use the OpenAPI Generator to generate the client code from the Nofrixion API Swagger definition: # generate from live API openapi-generator-cli generate -i https://api.nofrixion.com/swagger/v1/swagger.json -g php -o ./src-client -c src-client-config.json # or generate from development API openapi-generator-cli generate -i https://api-dev.nofrixion.com/swagger/v1/swagger.json -g php -o ./src-client -c src-client-config.json 
Client Documentation
For more detailed information on using the generated client, refer to the Client Documentation.