Download the PHP package bookingsuedtirol/mss-php without Composer
On this page you can find all versions of the php package bookingsuedtirol/mss-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bookingsuedtirol/mss-php
More information about bookingsuedtirol/mss-php
Files in bookingsuedtirol/mss-php
Package mss-php
Short Description MSS API Client for PHP projects
License MIT
Homepage https://github.com/bookingsuedtirol/mss-php
Informations about the package mss-php
mss-php
MSS API Client for PHP projects. Only supports MSS 2.0!
Installation
PHP version requirement: 8.1 or greater.
The MSS API Client is not hard coupled to Guzzle, Buzz or any other library that sends HTTP messages. Instead, it uses the PSR-18 client abstraction. This will give you the flexibility to choose what PSR-7 implementation and HTTP client you want to use.
Available methods
- [x] getHotelList
- [x] getSpecialList
- [x] getRoomList
- [x] getPriceList
- [x] getRoomAvailability
- [x] prepareBooking
- [x] getBooking
- [x] createInquiry
- [x] getUserSources
- [x] getLocationList
- [x] getMasterpackagesList
- [x] getThemeList
- [x] validateCoupon
Example
Check out the examples
directory for more advanced usage.
Exception handling
If the MSS returns an error response, a MssException
exception is thrown.
Development
Run docker compose run cli bash
.
If you experience permission issues with some files in this folder,
change the USER_ID
and GROUP_ID
values inside Dockerfile.
Automated tests
Run composer test
inside the Docker container.
All versions of mss-php with dependencies
jms/serializer Version 3.29.1
psr/http-client Version ^1.0.3
php-http/client-common Version ^2.7.2
php-http/discovery Version ^1.20