itbmedia / kund24-api-php
Integrate Kund24 Api
Installs: 1 875
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: >=5.5
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- html2text/html2text: >=4.2
- dev-master
- v2.2.3
- v2.2.2
- v2.2.1
- v2.2.0
- v2.1.9
- v2.1.8
- v2.1.7
- v2.1.6
- v2.1.5
- v2.1.4
- v2.1.3
- v2.1.2
- v2.1.1
- v2.1.0
- v2.0.9
- v2.0.8
- v2.0.7
- v2.0.6
- v2.0.5
- v2.0.4
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
- v1.9.9
- v1.9.8
- v1.9.7
- v1.9.6
- v1.9.5
- v1.9.4
- v1.9.3
- v1.9.2
- v1.9.1
- v1.9.0
- v1.8.9
- v1.8.8
- v1.8.7
- v1.8.5
- v1.8.4
- v1.8.3
- v1.8.2
- v1.8.1
- v1.8.0
- v1.7.9
- v1.7.8
- v1.7.7
- v1.7.6
- v1.7.5
- v1.7.4
- v1.7.3
- v1.7.2
- v1.7.1
- v1.7.0
- v1.6.22
- v1.6.21
- v1.6.20
- v1.6.19
- v1.6.18
- v1.6.17
- v1.6.16
- v1.6.15
- v1.6.14
- v1.6.13
- v1.6.12
- v1.6.11
- v1.6.10
- v1.6.3
- v1.6.2
- v1.6.1
- v1.6.0
- v1.5.9
- v1.5.8
- v1.5.7
- v1.5.6
- v1.5.5
- v1.5.4
- v1.5.3
- v1.5.2
- v1.5.1
- v1.5.0
- v1.4.9
- v1.4.8
- v1.4.7
- v1.4.6
- v1.4.5
- v1.4.4
- v1.4.3
- v1.4.2
- v1.4.0
- v1.3.9
- v1.3.8
- v1.3.7
- v1.3.6
- v1.3.5
- v1.3.4
- v1.3.3
- v1.3.2
- v1.3.1
- v1.3.0
- v1.2.9
- v1.2.8
- v1.2.7
- v1.2.6
- v1.2.5
- v1.2.4
- v1.2.3
- v1.2.2
- v1.2.1
- v1.2.0
- v1.1.15
- v1.1.14
- v1.1.13
- v1.1.12
- v1.1.11
- v1.1.10
- v1.1.9
- v1.1.8
- v1.1.7
- v1.1.6
- v1.1.5
- v1.1.4
- v1.1.3
- v1.1.2
- v1.1.1
- v1.0.1
- v1.0
This package is auto-updated.
Last update: 2024-10-20 10:08:53 UTC
README
In your admin screen of https://www.kund24.se/ you can generate an API Key for your account to integrate with your CRM
Installation through composer
This package can be installed through composer
See https://getcomposer.org/ for more information and documentation.
Install it by running composer require itbmedia/kund24-api-php
Usage through regular PHP
<?php
require_once("path/to/dir/vendor/autoload.php");
$client = new \Kund24\Api\Client(YOUR_ACCOUNT_ID, 'YOUR_API_KEY');
$contact = new \Kund24\Api\Models\Contact();
$contact->setEmail('lars2000@gmail.com')
->setFirstName('Fredrik')
->setLastName('Bengtsson')
->setCompany('ITB Media')
->addMetafield(new \Kund24\Api\Models\ContactMetafield('favorite_food', 'pizza'));
;
$deal = new \Kund24\Api\Models\Deal();
$deal->setValue(500)
->setTitle('Lead från hemsida')
->setSource('Hemsida')
->setStage('Leads')
->setContact($contact)
;
$deal = $client->createDeal($deal);