PHPackages                             sioweb/admiralcloud-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. sioweb/admiralcloud-client

ActiveLibrary

sioweb/admiralcloud-client
==========================

1.0.2(5y ago)012MITPHPPHP ^7.0||^8.0

Since Feb 8Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Sioweb/AdmiralcloudClient)[ Packagist](https://packagist.org/packages/sioweb/admiralcloud-client)[ RSS](/packages/sioweb-admiralcloud-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

### PHP Client for Admiralcloud

[](#php-client-for-admiralcloud)

This is a simple example wrapper to use the admiralcloud search API.

#### Installation

[](#installation)

```
composer req sioweb/admiralcloud-client
```

#### Test

[](#test)

**.env**

Create a .env file in the root of your project and add your API data:

```
AC_API_URL="https://api.admiralcloud.com"
AC_API_KEY="......................"
AC_SECRET_KEY="........-....-....-....-............"
AC_API_VERSION="v5"

```

**public/index.php**

Create a file in a subdirectory of your project: `public/index.php`. Its not necessary how you name the public dir, it also could be named `web`, or what ever you prever. The index.php file just **should not** be in the same level as `vendor`.

To test the requests, just remove the comments (// ) from behind a die()-block.

```
