ptinosq/prismic4d
最新稳定版本:1.0.0
Composer 安装命令:
composer require ptinosq/prismic4d
包简介
A minimalist PHP library for interaction with the Prismic.io API
README 文档
README
A very minimalist PHP library for interacting with the Prismic.io CDN.
Installation
Composer
composer require pTinosq/Prismic4D
Usage
<?php require_once 'vendor/autoload.php'; use pTinosq\Prismic4D; $api = new Prismic4D\API(); $api->setProjectName('my-project-name'); $api->setAccessToken('my-access-token'); $ref = $api->getRef(); $document = $api->getDocument($ref, 'my-document-id');
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
Credits
统计信息
- 总下载量: 32
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-only
- 更新时间: 2022-10-06