Laravel Notion API

Installation

You can install the package via composer:

composer require fiveam-code/laravel-notion-api

Get your Notion API access token like explained in their documentation. It's also important to grant access to the integration within your Notion pages, which is described in Notions docs as well.

Add a new entry to your .env like the following:

NOTION_API_TOKEN="$YOUR_ACCESS_TOKEN"

That's it.

Upgrading

If your project depends on one of the older versions (v0.1, v0.2), please refer to the changelog before updating the dependency.