-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated readme, fixed namespacing issue
- Loading branch information
Showing
17 changed files
with
97 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,44 @@ | ||
Welcome to Heap Helper | ||
# Heap Helper | ||
[![GitHub issues](https://img.shields.io/github/issues/mitquinn/HeapHelper)](https://github.com/mitquinn/HeapHelper/issues) | ||
[![GitHub stars](https://img.shields.io/github/stars/mitquinn/HeapHelper)](https://github.com/mitquinn/HeapHelper/stargazers) | ||
[![GitHub license](https://img.shields.io/github/license/mitquinn/HeapHelper)](https://github.com/mitquinn/HeapHelper/blob/master/LICENSE.md) | ||
|
||
This is a composer package the assists with the Heap server side API. | ||
## Description | ||
Heap Helper is a simple wrapper for the Heap server side API. | ||
|
||
Developed by: | ||
Mitchell Quinn <mdq2@live.com> | ||
Heap Helper provides: | ||
* simple integration with the Heap server side API. | ||
* wrapper for the Heap API endpoints. | ||
* individual resources that the API is expecting to be provided. | ||
|
||
You can learn more about Heap here: https://heapanalytics.com/ | ||
|
||
```php | ||
$configuration = new \Mitquinn\HeapHelper\HeapConfiguration('apiKey', 'appId'); | ||
$heapHelper = new \Mitquinn\HeapHelper\HeapHelper($configuration); | ||
|
||
$event = new \Mitquinn\HeapHelper\Resources\HeapEvent( | ||
'eventName', | ||
'alice@example.com', | ||
['propertyKey' => 'propertyValue'] | ||
); | ||
|
||
$heapResponse = $heapHelper->track($event); | ||
``` | ||
|
||
## Installation | ||
The recommended way to install Heap Helper is through [Composer.](https://getcomposer.org/) | ||
``` | ||
composer require mitquinn/heap-helper | ||
``` | ||
|
||
## License | ||
Heap Helper is made available under the GNU General Public License (GNU). Please see the [License File](https://github.com/mitquinn/HeapHelper/blob/master/LICENSE.md) for more information. | ||
|
||
## Contributors | ||
|
||
* Sponsor - Mitchell Quinn - [<mitchell.david.quinn@gmail.com>](mailto:mitchell.david.quinn@gmail.com) | ||
|
||
|
||
Main Work TODO: | ||
* AddUserProperties API | ||
* AddUserProperties Resource | ||
* BulkAddUserProperties API | ||
* BulkAddUserProperties Resource | ||
* AddAccountProperties API | ||
* User Deletion API | ||
* Auth API | ||
|
||
Testing Work TODO: | ||
* Event Resource | ||
* Events Resource | ||
* AddUserProperties API | ||
* AddUserProperties Resource | ||
* BulkAddUserProperties API | ||
* BulkAddUserProperties Resource | ||
* AddAccountProperties API | ||
* User Deletion API | ||
* Auth API | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
|
||
namespace Mquinn\HeapHelper; | ||
namespace Mitquinn\HeapHelper; | ||
|
||
class HeapConfiguration | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
|
||
namespace Mquinn\HeapHelper\Traits; | ||
namespace Mitquinn\HeapHelper\Traits; | ||
|
||
use InvalidArgumentException; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
|
||
namespace Mquinn\HeapHelper\Traits; | ||
namespace Mitquinn\HeapHelper\Traits; | ||
|
||
use InvalidArgumentException; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters