Download the PHP package spits-online/laravel-wefact-api without Composer
On this page you can find all versions of the php package spits-online/laravel-wefact-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download spits-online/laravel-wefact-api
More information about spits-online/laravel-wefact-api
Files in spits-online/laravel-wefact-api
Package laravel-wefact-api
Short Description A Laravel wrapper for the HostFact / WeFact API
License MIT
Homepage https://github.com/Spits-online/laravel-wefact-api
Informations about the package laravel-wefact-api
Laravel Hostfact Wefact API wrapper
Installation
Configuration
Set the .ENV variables
Or modify the config/wefact.php file.
HostFact
When using HostFact, modify the config/wefact.php and set the type to \Spits\WeFactApi\HostFact::class.
Components
Each method supports default:
- List
- Find
- Show
- Create
- Edit
- Save
Additional methods will be documented on the component.
To start using the functionalities a new Entity must be instantiated.
Optionally an $Identifier parameter may be provided.
When doing so automatically a show object call will be made to the API retrieving the objects data from WeFact.
After this you can use the supported methods
Alternatively the Wefact Facada may be used to instantiate the Entites as listed below.
Debtor
Creditor
CreditInvoice
Debtor
Group
Invoice
Product
Quote
Service
Subscription
Ticket
Vps
HostFact only Entities
Since WeFact doesn't support domain management a few of the entities are only to be used in combination with HostFact.\ These entities are listed below:
Entities\DomainEntities\DomainContractEntities\HostingEntities\SslEntities\Vps
All versions of laravel-wefact-api with dependencies
guzzlehttp/guzzle Version ^7.0
laravel/framework Version ~5.8.0||^6.0||^7.0||^8.0||^9.0||^10.0||^11.0||^12.0||^13.0
ext-json Version *