This repository was archived by the owner on Aug 27, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +16
-30
lines changed
Expand file tree Collapse file tree 3 files changed +16
-30
lines changed Original file line number Diff line number Diff line change 11# Composer
22/vendor
3-
4- # Laravel 5
5- /public /css
6- /public /js
7- /public /images
8- /public /fonts
9- /public /mix-manifest.json
10- /public /storage
11- /public /vendor
12- /storage /* .key
13- .env
14-
15- # Storage
16- /storage /temp
17-
18- # Dusk
19- .env.backup
20-
21- # Vagrant / Homestead
22- /.vagrant
23- after.sh
24- Homestead.json
25- Homestead.yaml
26-
27- # NodeJS
28- /node_modules
29- npm-debug.log
3+ composer.lock
304
315# IDE
326/.idea
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
44The format is based on [ Keep a Changelog] ( http://keepachangelog.com/ )
55and this project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
66
7- ## [ 1.0.0] - 2019-03-25
7+ ## [ 1.0.0] - 2019-03-28
88### Added
99- Initial version.
1010
Original file line number Diff line number Diff line change @@ -58,11 +58,23 @@ This will provide you with a list of available contacts.
5858To create a contact, you can use the ` createContact ` method:
5959
6060``` php
61- $contact = $activeCampaign->createContact([
61+ $contact = $activeCampaign->createContact(
62626363 'firstName' => 'John',
6464 'lastName' => 'Doe',
65- ]);
65+ );
66+ ```
67+
68+ When the request was successful, ` $contact ` will contain a Contact object with the contact details.
69+
70+ To retrieve an existing contact or create it when it is missing:
71+
72+ ``` php
73+ $contact = $activeCampaign->findOrCreateContact(
74+ 75+ 'firstName' => 'John',
76+ 'lastName' => 'Doe',
77+ );
6678```
6779
6880When the request was successful, ` $contact ` will contain a Contact object with the contact details.
You can’t perform that action at this time.
0 commit comments