PHPackages                             nishstha/monday-laravel - 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. nishstha/monday-laravel

ActiveLibrary[API Development](/categories/api)

nishstha/monday-laravel
=======================

Laravel wrapper to interface with monday graphql api

v1.0.0(5y ago)04341MITPHP

Since Jun 30Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Nischal-shrestha/monday-laravel)[ Packagist](https://packagist.org/packages/nishstha/monday-laravel)[ RSS](/packages/nishstha-monday-laravel/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Monday Laravel
==============

[](#monday-laravel)

This package is used to query the [monday.com](https://www.monday.com)'s GraphQL api.

Usage
-----

[](#usage)

Please follow the steps below to install and use this package.

##### 1. Require the package

[](#1-require-the-package)

```
composer require nishstha/monday-laravel
```

##### 2. Publish the config file

[](#2-publish-the-config-file)

```
php artisan vendor:publish --provider="Nishstha\Monday\MondayServiceProvider"
```

##### 3. Setup your API Keys

[](#3-setup-your-api-keys)

You will need to setup your monday api keys in `config/monday.php`.

```
return [
  'api_url' => env('MONDAY_API_URL', 'https://api.monday.com/v2'),
  'api_key' => env('MONDAY_API_KEY', 'your_key_here'),
];
```

##### 4. All done

[](#4-all-done)

Now that we are done with that. We can call the Monday API. See the example below.

Make sure to import the facade at the top

```
use Nishstha\Monday\Facades\Monday;
```

then we can call the api using

```
$response = Monday::call($query);
```

The response returned is a of type `\GuzzleHttp\Psr7\Response` object or `null`.

The query can be easily structed :

```
$query =
