PHPackages                             64robots/php-notion - 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. 64robots/php-notion

ActiveLibrary[API Development](/categories/api)

64robots/php-notion
===================

Package to use Notion API from PHP

0.1(5y ago)1910.6k—0%6[1 PRs](https://github.com/64robots/php-notion/pulls)1MITPHPPHP ^7.4|^8.0

Since May 14Pushed 4y ago4 watchersCompare

[ Source](https://github.com/64robots/php-notion)[ Packagist](https://packagist.org/packages/64robots/php-notion)[ Docs](https://github.com/64robots/php-notion)[ GitHub Sponsors](https://github.com/64robots)[ RSS](/packages/64robots-php-notion/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (9)Used By (1)

Access Notion API from you PHP application
==========================================

[](#access-notion-api-from-you-php-application)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d9a69cff4dd4896c2b0e4b0c03fa8df252e4d249979c813c5195e818f95ce46e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f3634726f626f74732f7068702d6e6f74696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/64robots/php-notion)[![GitHub Tests Action Status](https://camo.githubusercontent.com/052dede530251bf8a871d12f7d5031f02f2d9ddc19006fe9fda63170382f13cd/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f3634726f626f74732f7068702d6e6f74696f6e2f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/64robots/php-notion/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/13fa6fabc118089444ea63f19a067fa22b03d77b5e771fc51fe866e1bbf5f058/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f3634726f626f74732f7068702d6e6f74696f6e2f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/64robots/php-notion/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/f24d0249b375e73e31102a3e5d1f4a03f2d740e165f7042f4519222107e82108/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f3634726f626f74732f7068702d6e6f74696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/64robots/php-notion)

This package allows you to use the Notion API from PHP.

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

[](#installation)

This package requires PHP =&gt; 7.4. You can install the package via composer:

```
composer require 64robots/php-notion
```

Usage
-----

[](#usage)

You need to create an instance of the `Notion` class using your [Notion Internal Integration Token](https://developers.notion.com/docs/getting-started)

Now you can invoke the resource method you need (`databases` in this example)

```
use R64\PhpNotion\Notion;

$notion = new Notion('secret_access_token');

$database = $notion->databases()->retrieve('a65b5216-46cb-479b-961e-67cc7b05a56d');
```

Resources
---------

[](#resources)

### Databases

[](#databases)

#### Retrieve a Database

[](#retrieve-a-database)

[Notion Retrieve Database documentation](https://developers.notion.com/reference/get-database)

```
$database = $notion->databases()->retrieve('a65b5216-46cb-479b-961e-67cc7b05a56d');
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [64 Robots](https://github.com/64robots)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1830d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/88e19e84d31e5f50eb2e338915669ae04f507a643fa24f88afc870520d8bef23?d=identicon)[64robots](/maintainers/64robots)

---

Top Contributors

[![lacasera](https://avatars.githubusercontent.com/u/8544587?v=4)](https://github.com/lacasera "lacasera (13 commits)")[![dvigueras](https://avatars.githubusercontent.com/u/352689?v=4)](https://github.com/dvigueras "dvigueras (9 commits)")[![oseintow](https://avatars.githubusercontent.com/u/3071999?v=4)](https://github.com/oseintow "oseintow (8 commits)")[![mmanzano](https://avatars.githubusercontent.com/u/1055699?v=4)](https://github.com/mmanzano "mmanzano (4 commits)")[![pepeloper](https://avatars.githubusercontent.com/u/9825719?v=4)](https://github.com/pepeloper "pepeloper (2 commits)")[![renalid](https://avatars.githubusercontent.com/u/425371?v=4)](https://github.com/renalid "renalid (1 commits)")

---

Tags

notion64Robotsphp\_notion

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/64robots-php-notion/health.svg)

```
[![Health](https://phpackages.com/badges/64robots-php-notion/health.svg)](https://phpackages.com/packages/64robots-php-notion)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[fiveam-code/laravel-notion-api

Laravel Wrapper for the Notion API

435224.4k1](/packages/fiveam-code-laravel-notion-api)[brd6/notion-sdk-php

Notion SDK for PHP

5918.0k](/packages/brd6-notion-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
