composer require pTinosq/Prismic4D
<?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');
- 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