承接 64robots/php-notion 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

64robots/php-notion

最新稳定版本:0.1

Composer 安装命令:

composer require 64robots/php-notion

包简介

Package to use Notion API from PHP

README 文档

README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

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

Installation

This package requires PHP => 7.4. You can install the package via composer:

composer require 64robots/php-notion

Usage

You need to create an instance of the Notion class using your Notion Internal Integration Token

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

Databases

Retrieve a Database

Notion Retrieve Database documentation

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

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 9.95k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 19
  • 点击次数: 1
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 19
  • Watchers: 4
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-05-14