Download the PHP package akika/laravel-weevo without Composer

On this page you can find all versions of the php package akika/laravel-weevo. 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-weevo

Laravel Weevo Package by Akika Digital

The Laravel Weevo package allows you to connect your application with the Weevo last mile delivery app.

The package automatically requests and caches the Weevo access token using the configured token TTL. You do not need to manually call authenticate() before creating deliveries.

System Requirements

Installation

You can install the package via composer:

After installing the package, publish the configuration file using the following command:

You can also run the following command to publish the config file

The configuration file will be published to:

Laravel automatically discovers the package. No additional service provider registration is required.

ENV Variables

You can add the following variables to your env file. Make sure to add the requested information.

Facade Import

Initialize library

Use the following snippet to use credentials in the config file

Use the following snippet to define the variables. Fit for multivendor support

You can also use the credentials class as shown below:

Create Delivery

Use the following function to create a delivery

6. Mention date format

You use several dates.

State once:

Get delivery details

To show delivery details, pass the trip_id in the function below:

Update Payment Status

Pass the data as shown below to update the delivery payment status

Delivery Statuses

Below are the available statuses

Sample Response

All methods return json on success.

Error Handling

All methods return null when the request fails.

Quality Assurance

The package is fully tested using Pest PHP and PHPUnit.

Test Coverage

Current test coverage:

Main coverage report:

License

This package is licensed under the MIT License.


All versions of laravel-weevo with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
illuminate/support Version ^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0
illuminate/http Version ^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0
guzzlehttp/guzzle Version ^7.5
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 akika/laravel-weevo contains the following files

Loading the files please wait ...