php-extended / php-api-fr-gouv-entreprises-qt-object
This package is abandoned and no longer maintained.
No replacement package was suggested.
A library that implements the php-api-fr-gouv-entreprises-qt-interface library
Package info
gitlab.com/php-extended/php-api-fr-gouv-entreprises-qt-object
pkg:composer/php-extended/php-api-fr-gouv-entreprises-qt-object
8.0.0
2025-01-24 22:26 UTC
Requires
Requires (Dev)
This package is auto-updated.
Last update: 2025-01-25 16:13:20 UTC
README
A library that implements the php-api-fr-gouv-entreprises-qt-interface library.
Installation
The installation of this library is made via composer and the autoloading of all classes of this library is made through their autoloader.
- Download
composer.pharfrom their website. - Then run the following command to install this library as dependency :
php composer.phar php-extended/php-api-fr-gouv-entreprises-qt-object ^7
Basic Usage
This library may be used the following way :
use PhpExtended\EntreprisesGouvFr\QtApiEndpoint;
/** @var $client \Psr\Http\Client\ClientInterface */
$endpoint = new QtApiEndpoint($client);
$endpoint->login($username, $password);
foreach($endpoint->getAllEtablissements() as $etablissement)
{
// do something with $etablissement
}
License
MIT (See license file).