Download the PHP package upgradelabs/tcpos without Composer
On this page you can find all versions of the php package upgradelabs/tcpos. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download upgradelabs/tcpos
More information about upgradelabs/tcpos
Files in upgradelabs/tcpos
Download upgradelabs/tcpos
More information about upgradelabs/tcpos
Files in upgradelabs/tcpos
Vendor upgradelabs
Package tcpos
Short Description Laravel package to interact with the TCPOS Web Order and Delivery API
License MIT
Package tcpos
Short Description Laravel package to interact with the TCPOS Web Order and Delivery API
License MIT
Please rate this library. Is it a good library?
Informations about the package tcpos
TCPOS Laravel Package
This package provides a Laravel 10+ interface for the TCPOS Web Order and Delivery API.
Requirements
- PHP >= 8.3
- Laravel >= 10
Installation
Configuration
Publish the config file with:
Then in your .env
:
Configuration file (config/tcpos.php
):
Usage
1. Using the Facade
2. Dependency Injection
You can inject the client directly into services or controllers:
3. Creating and Confirming an Order
4. Error Handling
All methods throw an exception on HTTP or API-level errors:
5. Customizing at Runtime
Override timeout or base URI:
6. Testing
Run the full test suite:
Endpoints
All available endpoints are exposed via facade TCPOS
or injected Client
. See src/Http/Client.php
for the complete method list.
All versions of tcpos with dependencies
PHP Build Version
Package Version
The package upgradelabs/tcpos contains the following files
Loading the files please wait ....