PHPackages                             zonuexe/mastodon-api - 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. zonuexe/mastodon-api

ActiveLibrary

zonuexe/mastodon-api
====================

A PHP interface for Mastodon.

0.0.6(8y ago)6491GPL-3.0PHP

Since May 4Pushed 8y ago2 watchersCompare

[ Source](https://github.com/BaguettePHP/mastodon-api)[ Packagist](https://packagist.org/packages/zonuexe/mastodon-api)[ RSS](/packages/zonuexe-mastodon-api/feed)WikiDiscussions development Synced 3d ago

READMEChangelogDependencies (12)Versions (8)Used By (0)

Baguette PHP Mastodon API Client / SDK
======================================

[](#baguette-php-mastodon-api-client--sdk)

[![Package version](https://camo.githubusercontent.com/e77eb14bade0576ea58a1ecc1c00d117caceffe88ca588f4532ee4512af78c9c/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7a6f6e756578652f6d6173746f646f6e2d6170692e7376673f7374796c653d666c6174)](https://packagist.org/packages/zonuexe/mastodon-api)[![Packagist](https://camo.githubusercontent.com/9f3e730574435abc2ff01deff7bd62834c0f45313638a97a127334e6b46bdcd2/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7a6f6e756578652f6d6173746f646f6e2d6170692e7376673f7374796c653d666c6174)](https://packagist.org/packages/zonuexe/mastodon-api)[![Build Status](https://camo.githubusercontent.com/56f6fa6c0c3a7106917770ef411a0d260c6a6405bf8e7c2ce6d6b0af6382141e/68747470733a2f2f7472617669732d63692e6f72672f42616775657474655048502f6d6173746f646f6e2d6170692e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/BaguettePHP/mastodon-api)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/878ff727542bd204b938dca2f7dfd63db4b2e339d5cd255e6693f8cbef800c8b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f42616775657474655048502f6d6173746f646f6e2d6170692f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/BaguettePHP/mastodon-api/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/6452bc77f560f99303a02d1d2f9bffa4848c178b09d59bd8b77c4e646e97ed9e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f42616775657474655048502f6d6173746f646f6e2d6170692f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/BaguettePHP/mastodon-api/?branch=master)[![Code Climate](https://camo.githubusercontent.com/c1759b462b531d8fe1ac0e45106e19e8eb3f04dfe0c4f928bdf25ecdbfcb6231/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f42616775657474655048502f6d6173746f646f6e2d6170692e737667)](https://codeclimate.com/github/BaguettePHP/mastodon-api)

Installation
------------

[](#installation)

```
$ composer require zonuexe/mastodon-api

```

Requires
--------

[](#requires)

- PHP 5.5, 5.6, 7.0, 7.1, HHVM
- [Composer](https://getcomposer.org/)

Features
--------

[](#features)

- IDE (PhpStorm) friendly class/function definitions
- Support [multiparadigm programming](https://en.wikipedia.org/wiki/Programming_paradigm) style (procedural vs OOP)

Usage
-----

[](#usage)

### Simple procedural style

[](#simple-procedural-style)

```
