Download the PHP package santosdave/sabre-wrapper without Composer

On this page you can find all versions of the php package santosdave/sabre-wrapper. 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 sabre-wrapper

Sabre API Wrapper for Laravel

A robust Laravel wrapper for Sabre APIs supporting both REST and SOAP endpoints with comprehensive authentication handling.

A comprehensive Laravel wrapper for Sabre NDC APIs supporting both basic and advanced NDC flows.

Features

Requirements

Installation

The service provider will automatically register itself in Laravel 8+. For earlier versions, add the provider manually:

Configuration

  1. Publish the config file:

  2. Add the following environment variables to your .env file:

  3. Configuration File Details (config/sabre.php):

Basic Usage

Air Shopping

Order Management

Service Types

The wrapper supports both REST and SOAP services. You can specify the type when creating a service:

Advanced Features

Health Monitoring

Rate Limiting

Caching

Basic NDC Flow

The basic NDC flow consists of the following steps:

  1. Shopping (BargainFinderMax)
  2. Price Verification
  3. Create Booking
  4. Get/View Booking
  5. Cancel Booking (if needed)

Example Implementation:

Advanced NDC Flow

The advanced NDC flow provides more control and features:

  1. Shopping (BargainFinderMax)
  2. Price Verification
  3. Order Creation
  4. Order Management (View/Change)
  5. Fulfillment
  6. Exchange (if needed)

Example Implementation:

Key Differences Between Basic and Advanced NDC Flows

  1. Booking vs Orders

    • Basic Flow: Uses CreateBooking for simple reservation
    • Advanced Flow: Uses OrderCreate with more features
  2. Payment Processing

    • Basic Flow: Payment handled outside the API
    • Advanced Flow: Integrated payment processing
  3. Ancillary Services

    • Basic Flow: Limited ancillary support
    • Advanced Flow: Full ancillary service support
  4. Changes and Modifications
    • Basic Flow: Simple cancellation
    • Advanced Flow: Complex changes, exchanges

Service Components

Error Handling

Flow Diagram

Logging

All API calls are automatically logged if logging is enabled. Logs include:

Testing

Run the test suite:

License

This package is open-sourced software licensed under the MIT license.

Support

For issues and feature requests, please use the GitHub issue tracker.

Contributing

Please see CONTRIBUTING.md for details.

Security

If you discover any security related issues, please email your security contact instead of using the issue tracker.


All versions of sabre-wrapper with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
ext-soap Version *
guzzlehttp/guzzle Version ^7.0
illuminate/support Version ^8.0|^9.0|^10.0
monolog/monolog Version ^3.8
laravel/framework Version ^10.0
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 santosdave/sabre-wrapper contains the following files

Loading the files please wait ....