5amcode proudly presents its first Laravel specific package - a wrapper for the Notion API! This package will provide a simple and crisp way to access the various Notion API endpoints, query data and manipulate entries.
This package is in an early stage and receives continuious improvements. DO NOT USE IN PRODUCTION.
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"
And you're ready to go!
It's too early for a documentation, so we collected some working examples in our Notion Workspace.
vendor/bin/phpunit tests
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email hello@dianaweb.dev instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.
This package was generated using the Laravel Package Boilerplate.