Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ANS SDK for PHP

License

NotificationsYou must be signed in to change notification settings

ans-group/sdk-php

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build StatusMIT licensed

A PHP library for connecting your application(s) to the ANS APIs.

To use this package, you will need an ANS account. Sign up for free atans.co.uk,and refer to theGetting Started section of our developer documentation for more information on consuming our APIs.

Installation

The recommended way to install this package is throughcomposer.

composer require ans-group/sdk

Alternatively, you can download one of ourtagged releases for manual installation, we don't recommend cloning the master branch for use in production environments as we cannot guarantee its stability.

This package does currently support PHP 5.6+, but we recommend moving to 7.1+ as soon as possible.

Usage

Each API has its own client class that extends from a base client class. All clients have anauth method which takes an API token to be used when sending requests.

Each client class has its own subclients, which can be accessed via methods on the base client.

Example

<?php$client = (new \UKFast\SDK\PSS\Client)->auth('API KEY');$page =$client->requests()->getPage();foreach ($page->getItems()as$request) {echo"#{$request->id} -{$request->subject}\n";}

Contributing

We welcome contributions that will benefit other users,please seeCONTRIBUTING for details on how you can get involved.

License

This SDK is released under theMIT License

About

ANS SDK for PHP

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors29

Languages


[8]ページ先頭

©2009-2025 Movatter.jp