Download the PHP package and48/laravel-wubook without Composer

On this page you can find all versions of the php package and48/laravel-wubook. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-wubook

WuBook library for Lravel 8

This version of Laravel Wubook was modified by Andrii Strilchuk, is based in the ilgala/laravel-wubook.

Installation

Configuration

Laravel WuBook requires connection configuration.

Publish the package migrations files to your application.

This will create a wubook_configs table in your DB that you can modify to set your configuration (lcode and token).

Usage

WuBookManager

This is the class of most interest. It is bound to the ioc container as 'wubook' and can be accessed using the Facades\WuBook facade. In order to make a call to the Wired API, you may call these methods that refers to a specific area of the service.

Facades\WuBook

This facade will dynamically pass static method calls to the 'wubook' object in the ioc container which by default is the WuBookManager class.

WuBook API methods results

The fxmlrpc client always returns an associative array, that may be changed by the package in order to retrieve the resulting data from the XML/RPC function.

If an error occured during the call, a WuBookException will be thrown. If the call is successfully executed an array will be returned with this values:

Real Examples

Here you can see an example of just how simple this package is to use:

For more information on how to use the \LaravelWubook\WuBookManager class we are calling behind the scenes here, check out the Wired API doc.

Security

If you discover a security vulnerability within this package, please send an e-mail to Andrii Strilchuk at [email protected]. All security vulnerabilities will be promptly addressed.

License

Laravel WuBook is licensed under The MIT License (MIT).

Tests

For running the tests you must specify environment variables LCODE and TOKEN.

For Windows:

For Linux:

It is recommended to run with empty account on the wubook.


All versions of laravel-wubook with dependencies

PHP Build Version
Package Version
Requires guzzlehttp/guzzle Version ^7.4
zendframework/zend-diactoros Version ^2.2
php-http/message Version ^1.13
php-http/guzzle7-adapter Version ^1.0
lstrojny/fxmlrpc Version ^0.22.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package and48/laravel-wubook contains the following files

Loading the files please wait ....