Download the PHP package guilty/apsis without Composer
On this page you can find all versions of the php package guilty/apsis. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package apsis
Short Description APSIS PHP API Client
License MIT
Homepage https://github.com/guilty-as/apsis
Informations about the package apsis
APSIS PHP API Client
APSIS API client, used for interacting with the APSIS API: http://se.apidoc.anpdm.com
Installation
You can install the package via composer:
Laravel
This package is compatible with Laravel
You can publish the config file like so
This is the contents of the published config file:
To get started, add the following environment variable to your .env file:
You can use the facade like so:
API Usage
Available services
Account Service
Bounce Service
Click Service
Event Service
Filter Service
Folder Service
Mailing List Service
Newsletter List Service
Open Service
Opt Out Service
Sending Service
Sms Service
Subscriber Service
Transactional Service
Import Service
Queued Methods
To make it easier to work with Queued Methods, you can use the QueuedMethodHelper to poll and retrieve data from any queued method.
Just pass the response of a Queued Method into the method and you will have an instance.
Below is an example of how you could use this:
Implemented Services
These services are currently implemented, the rest is being worked on and will be checked off once completed.
- [x] Account
- [x] Bounce
- [x] Click
- [x] Event
- [x] Filter
- [x] Folder
- [x] Import
- [x] MailingList
- [x] Newsletter
- [x] Open
- [x] OptOut
- [x] Sending
- [x] Sms
- [x] Subscriber
- [x] Transactional (NOTE: sendTransactionalEmail(), might not work right yet)
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
License
The MIT License (MIT). Please see License File for more information.
Brought to you by Guilty AS
The APSIS logo and Trademark is the property of APSIS International AB