PHPackages                             fundevogel/php-mastodon - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. fundevogel/php-mastodon

ActiveLibrary[HTTP &amp; Networking](/categories/http)

fundevogel/php-mastodon
=======================

A small PHP library for interacting with Mastodon's REST API.

0.6.0(4y ago)214463[1 issues](https://github.com/fundevogel/php-mastodon/issues)[2 PRs](https://github.com/fundevogel/php-mastodon/pulls)GPL-3.0PHP

Since Sep 12Pushed 2y ago1 watchersCompare

[ Source](https://github.com/fundevogel/php-mastodon)[ Packagist](https://packagist.org/packages/fundevogel/php-mastodon)[ Docs](https://fundevogel.de)[ RSS](/packages/fundevogel-php-mastodon/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (3)Versions (11)Used By (0)

php-mastodon
============

[](#php-mastodon)

[![Release](https://camo.githubusercontent.com/7def2e621f61e1369f694fca31b41b72f7fd02743ec61b288c489b5d5864b567/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f46756e6465766f67656c2f7068702d6d6173746f646f6e2e737667)](https://github.com/Fundevogel/php-mastodon/releases) [![License](https://camo.githubusercontent.com/7cdf0e33f3b14807501d61dcc115f4546260ba051859b92f9a21bcea009ad346/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f46756e6465766f67656c2f7068702d6d6173746f646f6e2e737667)](https://github.com/Fundevogel/php-mastodon/blob/master/LICENSE) [![Issues](https://camo.githubusercontent.com/f276e174ccd296854d80a9570a5cb2168c3cef5b61528a907e81baf9c0d8358c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f46756e6465766f67656c2f7068702d6d6173746f646f6e2e737667)](https://github.com/Fundevogel/php-mastodon/issues) [![Status](https://camo.githubusercontent.com/5c1f034c1c1dd86823605112efa0a781d16079cf1ad671542732b0ac4b774c55/68747470733a2f2f7472617669732d63692e6f72672f46756e6465766f67656c2f7068702d6d6173746f646f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Fundevogel/php-mastodon)

A small PHP library for interacting with [Mastodon](https://en.wikipedia.org/wiki/Mastodon_(software))'s REST API. Its documentation can be found [here](https://docs.joinmastodon.org/client/intro).

**Note**: Before you get started, be sure to [create an application](https://docs.joinmastodon.org/client/token) (under "Development" in your profile settings) first.

Getting started
---------------

[](#getting-started)

Install this package with [Composer](https://getcomposer.org):

```
composer require fundevogel/php-mastodon

```

To get an idea how you could implement this, have a look at these examples:

```
