xvilo / gofile-php-api
GoFile API Client in PHP
v0.1.0
2024-02-24 13:54 UTC
Requires
- php: ^8.3
- php-http/client-common: ^2.6
- php-http/discovery: ^1.14
- symfony/serializer: ^5.4 || ^6.4 || ^7.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.13
- nyholm/psr7: ^1.5
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^10.0
- rector/rector: ^1.0
- symfony/http-client: ^5.4 || ^6.4 || ^7.0
- symfony/var-dumper: ^5.4 || ^6.4 || ^7.0
README
⚠️ This package is work in progress and basic features are not yet implemented.
Getting started
Installation
Run composer require xvilo/gofile-php-api
Usage
<?php
include 'vendor/autoload.php';
$client = new \Xvilo\GoFile\Client();
dd($client->meta->getServer());
array:2 [
"status" => "ok"
"data" => array:1 [
"server" => "store9"
]
]