veryard/laravel-vultr

dev-main 2022-06-16 19:37 UTC

This package is auto-updated.

Last update: 2024-04-16 23:52:50 UTC


README

Laravel Vultr requires PHP 7.2-8.1. This particular version supports Laravel 8-9.

To install the latest version, simple require this package using Composer. Currently the only working adapter is CURL.

$ composer require "veryard/laravel-vultr"

Once installed, if you are not using automatic package discovery, then you need to register the Vultr\Laravel\VultrServiceProvider service provider in your config/app.php.

You can also optionally alias our facade:

        'Vultr' => Vultr\Laravel\Facades\Vultr::class,

Configuration

Laravel Vultr requires connection configuration

To get start, you'll need to pubish the vendor assets:

$ php artisan vendor:publish --provider="Vultr\Laravel\VultrServiceProvider"

This will create a config/vultr.php file in your app, you will need to add the following to your .ENV

VULTR_API_TOKEN="YOUR_TOKEN"