Download the PHP package aeyoll/next-day-delivery without Composer
On this page you can find all versions of the php package aeyoll/next-day-delivery. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download aeyoll/next-day-delivery
More information about aeyoll/next-day-delivery
Files in aeyoll/next-day-delivery
Download aeyoll/next-day-delivery
More information about aeyoll/next-day-delivery
Files in aeyoll/next-day-delivery
Vendor aeyoll
Package next-day-delivery
Short Description a small utility to help knowing if a company is able to ship something for the next day
License MIT
Package next-day-delivery
Short Description a small utility to help knowing if a company is able to ship something for the next day
License MIT
Please rate this library. Is it a good library?
Informations about the package next-day-delivery
Next Day Delivery
This repository is a small utility to help knowing if a company is able to ship something for the next day.
Requirements
- PHP 7.0+
Installation
Usage
If the next day delivery is possible, it returns the amount of time before it is actually possible to ship. Otherwise, it returns false
.
Options
Alternatively, you can pass an array of options to the constructor:
option name | description | default value |
---|---|---|
timeLimit | Max hour in 24h format before being unable to ship | 15 , e.g. 3pm |
countryCode | A 2 letter code picked from cmixin/business-day, used to compute the country holidays | 'fr' |
additionalHolidays | an array of days where the company is not able to ship | [] |
allowSaturdayDelivery | self-explanatory boolean | false |
Testing
You can run test by cloning the repository and executing PHPUnit:
All versions of next-day-delivery with dependencies
PHP Build Version
Package Version
Requires
cmixin/business-day Version
^1.7
The package aeyoll/next-day-delivery contains the following files
Loading the files please wait ....