Download the PHP package mohammadv184/arvancloud-laravel without Composer
On this page you can find all versions of the php package mohammadv184/arvancloud-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mohammadv184/arvancloud-laravel
More information about mohammadv184/arvancloud-laravel
Files in mohammadv184/arvancloud-laravel
Package arvancloud-laravel
Short Description Laravel Package for the ArvanCloud API
License MIT
Homepage https://github.com/mohammadv184/arvancloud-laravel
Informations about the package arvancloud-laravel
Laravel ArvanCloud API
Laravel Package for the ArvanCloud API.
This package supports PHP 7.3+
.
For PHP integration you can use mohammadv184/arvancloud package.
List of contents
- Laravel ArvanCloud API
- List of contents
- List of services
- Install
- Configure
- How to use service
- CDN
- Credits
- License
List of services
Install
Via Composer
Configure
If you are using Laravel 5.5
or higher then you don't need to add the provider and alias. (Skip to b)
a. In your config/app.php
file add these two lines.
b. then run php artisan vendor:publish
to publish config/arvancloud.php
file in your config directory.
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.
How to use service
How to use ArvanCloud Services.
CDN
before doing any thing you need a domain in ArvanCloud CDN
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-laravel with dependencies
php Version >=7.3
illuminate/support Version ^5.0|^6.0|^7.0|^8.0