You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19Lines changed: 19 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
1
<divstyle="text-align:center">
2
2
3
3
# Laravel Notion API
4
+
## Effortless Notion integrations with Laravel
5
+
4
6
5
7
[](https://packagist.org/packages/fiveam-code/laravel-notion-api)
5amcode proudly presents its first Laravel specific package - a wrapper for the Notion API!
17
+
This package will provide a simple and crisp way to access the various Notion API endpoints, query data
18
+
and manipulate entries.
19
+
20
+
### Important note!
21
+
This package is in an early stage and receives continuious improvements. DO NOT USE IN PRODUCTION.
22
+
14
23
## Installation
15
24
16
25
You can install the package via composer:
@@ -19,6 +28,16 @@ You can install the package via composer:
19
28
composer require fiveam-code/laravel-notion-api
20
29
```
21
30
31
+
Get your Notion API access token like explained in [their documentation](https://developers.notion.com/).
32
+
It's also important to grant access to the integration within your Notion pages, which is described in Notions docs as well.
33
+
34
+
Add a new entry to your `.env` like the following:
35
+
```
36
+
NOTION_API_TOKEN="$YOUR_ACCESS_TOKEN"
37
+
```
38
+
39
+
And you're ready to go!
40
+
22
41
## Usage
23
42
It's too early for a documentation, so we collected some working examples in our [Notion Workspace](https://www.notion.so/5amcode/Working-Examples-813998dab4244158b51ea3b25b420c60).
0 commit comments