doclify/laravel

Integrates the Doclify PHP SDK with Laravel.

dev-master 2020-07-07 08:50 UTC

This package is auto-updated.

Last update: 2025-07-07 20:12:45 UTC


README

Packagist PHP from Packagist Packagist

This library provides an easy-to-use integration between the Laravel framework and the Doclify SDK. It requires at least PHP 7.2.

Setup

Add this package to your application by using Composer and executing the following command:

composer require doclify/laravel

Add the service provider to the providers array in config/app.php:

'providers' => [
    Doclify\Laravel\DoclifyServiceProvider::class,
],

Configuration

Publish the config file:

php artisan vendor:publish --provider="Doclify\Laravel\DoclifyServiceProvider"

This will add doclify.php to your /config folder. Next, add your repository and API token to your .env file:

DOCLIFY_REPOSITORY="your_repository_name"
DOCLIFY_TOKEN="your_token"

License

Copyright (c) 2020 Doclify. Code released under the MIT license. See LICENSE for further details.