ominity / laravel-ominity
Ominity API client wrapper for Laravel
v1.1.0
2024-12-13 15:16 UTC
Requires
- php: ^8.1|^8.2
- ext-json: *
- illuminate/support: ^10.0|^11.0
- ominity/ominity-api-php: ^1.0
Requires (Dev)
- laravel/pint: ^1.1
- laravel/socialite: ^5.5
- mockery/mockery: ^1.4
- orchestra/testbench: ^8.0|^9.0
- phpunit/phpunit: ^10.0
Suggests
- laravel/socialite: Use Ominity OAuth to authenticate via Laravel Socialite with the Ominity API. This is needed for some endpoints.
README
Requirements
- An active installation of Ominity.
- Up-to-date OpenSSL (or other SSL/TLS toolkit)
- PHP >= 8.1
- Laravel >= 10.0
Installation
You can install the package via Composer. Run the following command in your terminal:
composer require ominity/laravel-ominity
After installing the package, the Ominity service will be available for use in your Laravel application.
Configuration
Publish the configuration file using the following Artisan command:
php artisan vendor:publish --provider="Ominity\Laravel\OminityServiceProvider"
This will create a config/ominity.php
file where you can configure the package settings.
License
The MIT License. Copyright (c) 2024, Ominity (Connexeon BV)