PHPackages                             matthew-jensen/laravel-discourse - 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. [API Development](/categories/api)
4. /
5. matthew-jensen/laravel-discourse

ActiveLibrary[API Development](/categories/api)

matthew-jensen/laravel-discourse
================================

PHP Discourse Forum API for the Laravel Framework

v0.0.2(6y ago)19[4 PRs](https://github.com/matthew-jensen/laravel-discourse/pulls)GPL-3.0PHP

Since Jul 19Pushed 3y agoCompare

[ Source](https://github.com/matthew-jensen/laravel-discourse)[ Packagist](https://packagist.org/packages/matthew-jensen/laravel-discourse)[ RSS](/packages/matthew-jensen-laravel-discourse/feed)WikiDiscussions master Synced 2mo ago

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

PHP Discourse Client for the Laravel Framework
==============================================

[](#php-discourse-client-for-the-laravel-framework)

Version Compatibility
---------------------

[](#version-compatibility)

LaravelDiscourse Client&gt; 5.8.xUntested5.8.x0.0.2Getting Started
---------------

[](#getting-started)

Before going through the rest of this documentation, please take some time to read the [Discourse API Documentation](https://docs.discourse.org/). Not all of the API calls are documented, but it's a good place to start. Additional help with SSO: [https://meta.discourse.org](https://meta.discourse.org/c/dev/sso/24)

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

[](#installation)

To install through composer, simply put the following in your `composer.json` file:

```
{
    "require": {
        "matthew-jensen/laravel-discourse-client": "^0.0.2"
    }
}
```

And then run `composer install` from the terminal.

Add the following to config/app.php:

```
    /*
    * $APP_PATH/config/app.php
    */
    'providers' => [
        MatthewJensen\LaravelDiscourse\DiscourseServiceProvider::class
    ],
```

You can optionally publish the config file with:

```
php artisan vendor:publish --provider="MatthewJensen\LaravelDiscourse\DiscourseServiceProvider" --tag="config"
```

This is the contents of the published config file:

```
