mindpowered/englishauction
最新稳定版本:0.0.64
Composer 安装命令:
composer require mindpowered/englishauction
包简介
Online auctions with ascending price and time limit
README 文档
README
Online auctions with ascending price and time limit
Contents
Source Code and Documentation
- Source Code: https://github.com/mindpowered/english-auction-php
- Documentation: https://mindpowered.github.io/english-auction-php
About
An English auction is the most common form of auction. When an auction opens, the price starts low and increases as buyers bid for the item. Live auctions usually end when there is no new highest bid for a period of time. For online auctions, an end time is usually set. To prevent items selling for a loss, sometimes the seller will place a reserve. A reserve is the least amount to sell the item for, although the auction may start at a lower price. Another common feature of online auctions is the ability to pay a set price to win and end the auction.
This package aims to provide functionality of online English auctions.
Requirements
- php >= 7
- php
mbstringextension - php
xmlextension
Third-party dependencies may have additional requirements.
Installation
You can get englishauction using Composer. Composer manages dependencies for packages from Packagist and you can get it here: https://getcomposer.org/ .
Create a composer.json file in the top-most directory of your project and add mindpowered/englishauction to the requirements:
{
"require": {
"mindpowered/englishauction" : "*"
}
}
Now you can run the command to update composer: composer update. In order for composer to install the package dependencies you will need an archive manager such as zip installed. Composer requires use of the commands zip and unzip.
Usage
require __DIR__ . '/vendor/autoload.php'; use \mindpowered\englishauction\EnglishAuction; $ea = new EnglishAuction(); $ea->GetOpenAuctions(0, 10, "start", true);
Support
We are here to support using this package. If it doesn't do what you're looking for, isn't working, or you just need help, please Contact us.
There is also a public Issue Tracker available for this package.
Licensing
This package is released under the MIT License.
统计信息
- 总下载量: 1.9k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-09-26