Releases: frontegg/php-sdk
Releases · frontegg/php-sdk
0.2.3: Add config option for "authentication base url" (#18)
* Add "authenticationBaseUrl" to Frontegg Config Hybrid mode may require different base urls for authentication and API requests. This is because hybrid mode requires authentication via Frontegg Cloud but the actual API endpoints will by hosted by the local hybrid instance. So authentication will go through api.frontegg.com and other API calls will go to whatever url is defined by the hybrid installation. * Use authentication url from config to authenticate instead of service url * Include "authenticationBaseUrl" in readme
v0.2.2: PHP 8: add official support (#17)
* composer.json: add PHP 8 support * Test on PHP 7 and PHP 8
v0.2.1
v0.2
Release Notes
The stability and durability of the current PHP SDK were increased for Events and Proxy clients.
The code cleaning was made.
Updates in Frontegg
- Adjusted the
Frontegg
class - added new constantTENANT_ID_ENV_NAME
to get the tenant ID from the env, cleanups were made.
Updates in Frontegg\Authenticator
- Adjusted the
Authenticator class - added usage of the
ApiJsonTrait` trait, cleanups were made. - Moved the
Frontegg\Authenticator\ApiError
class toFrontegg\Error\ApiError
.
Updates in Frontegg\Audits
- Adjusted the
Audits
client class - added usage of theApiJsonTrait
trait, cleanups were made.
Updates in Frontegg\Events
- Adjusted the
Events
client class - added usage of theApiJsonTrait
trait, cleanups were made. - Adjusted other classes in this namespace.
- Changed directory structure where Event type classes are stored.
Updates in Frontegg\Proxy\Filters
- Adjusted the
FronteggResponseErrorResolver
to useFrontegg\Http\Response
constants and methods. - Adjusted the
FronteggSendRequestResolver
to useFrontegg\Http\Response
constants and methods.
Updates in Frontegg\Http
- Removed the
ResponseInterface
because all constants had been migrated to the newResponse
class. - Added the
Response
class instead of the removedResponseInterface
.
Updates in Frontegg\Error
- Added the
ApiErrorTrait
trait to provide API error handling logic.
Updates in Frontegg\Json
- Added the
ApiJsonTrait
trait to provide JSON data manipulations logic.
Github Actions
- Added Github Actions config for running Unit tests on push action.
- Added
phpunit.xml
for running Unit tests with Github Actions.
Demo
- Added demo integration for Vanilla (raw) PHP with a Docker environment.
Tests
- Updated tests.