Download the PHP package mohammadv184/arvancloud without Composer
On this page you can find all versions of the php package mohammadv184/arvancloud. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mohammadv184/arvancloud
More information about mohammadv184/arvancloud
Files in mohammadv184/arvancloud
Package arvancloud
Short Description PHP library for the ArvanCloud API
License MIT
Homepage https://github.com/mohammadv184/arvancloud
Informations about the package arvancloud
PHP ArvanCloud API
PHP library for the ArvanCloud API.
This package supports PHP 7.3+
.
For Laravel integration you can use mohammadv184/arvancloud-laravel package.
List of contents
- PHP ArvanCloud API
- List of contents
- List of services
- Install
- Configure
- How to use service
- CDN
- Credits
- License
List of services
Install
Via Composer
Configure
a. Copy config/arvancloud.php
into somewhere in your project. (you can also find it in vendor/mohammadv184/arvancloud/config/arvancloud.php
path).
b. In the config file you can set the Config to be used for all your Service and you can also change the Config at runtime.
Choose what Authentication type you would like to use in your application.
Then fill the credentials for that Service in the services array.
c. Instantiate the ArvanCloud
class and pass configs to it like the below:
How to use service
How to use ArvanCloud Services.
CDN
before doing any thing you need ArvanCloud Class
In your code, use it like the below:
Available methods:
domain
:all()
: get all domainscreate(string $domain)
: Create New Domain.get(string $domain = null)
: Get Domain Settingsdelete(string $domain = null)
: Delete Domain.
cache
:get(string $domain = null)
: Get Domain Cache settings.update(array $data, string $domain = null)
: Update Domain Cache settings.purge(array $urls = null, string $domain = null)
: Purge Domain Cache.
dns
:all()
: Get All Domain Dns.create(string $domain)
: Create new Domain Dns.get(string $domain = null)
: Get Domain Dns Settings.update(string $id, array $data, string $domain = null)
: Update Domain Dns Settings.delete(string $domain = null)
: Delete Domain Dns.cloud(string $id, bool $status = true, string $domain = null)
: Update Domain Dns Cloud Status.import($zoneFile, string $domain = null)
: Import DNS records using BIND file
ssl
:get(string $domain = null)
: Get Domain Ssl Settings.update(string $sslType, string $domain = null)
: Update Domain Ssl Settings.
Credits
- Mohammad Abbasi
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of arvancloud with dependencies
guzzlehttp/guzzle Version ^7.3
ext-json Version *
nesbot/carbon Version ^2.50