jongotlin / arbetsformedlingen-ads
Installs: 5 948
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 4
Forks: 2
Open Issues: 1
Requires
- php: ^7.2|^8.0
- php-http/client-implementation: ^1.0
- php-http/discovery: ^1.0
- php-http/httplug: ^1.0 || ^2.0
- php-http/message: ^1.0
Requires (Dev)
- php-http/guzzle6-adapter: ^1.0
- phpunit/phpunit: ^8.0
- symfony/event-dispatcher: ^5.0
Suggests
- symfony/event-dispatcher: To dispatch events when data is returned.
README
ArbetsformedlingenAds
Api wrapper for publishing ads on Arbetsförmedlingen (Swedish public employment service)
Install with composer
composer require jongotlin/arbetsformedlingen-ads
Example
$client = new \JGI\ArbetsformedlingenAds\Client(); $client->setHttpClient($httpClient); // $httpClient is a \Http\Client\HttpClient $arbetsformedlingenJob = new ArbetsformedlingenJob(...); $transaction = new Transaction($senderId, 'some@email.com', $transactionID, [$arbetsformedlingenJob]); $result = $client->publish($transaction);