A service made to provide, set up and use the library from blockvis civic-sip-php in Laravel.
- Install laravel-civic-sip package
composer require lmillucci/laravel-civic-sip
- Publish configuration with
php artisan vendor:publish
- Define env variables to use Civic
CIVIC_APPLICATION_ID=app_id
CIVIC_APPLICATION_SECRET=123456abcd
CIVIC_PRIVATE_SIGNING_KEY=abcd123456
CIVIC_ENVIRONMENT=prod
<? php
// Exchange Civic authorization code for requested user data.
$userData = CivicFacade::exchangeToken($jwtToken);
This project is licensed under the MIT License.