Download the PHP package rohsyl/salto without Composer

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

A PHP Salto client implementing the PMS Industry Standard protocol via TCP/IP.

Latest Version on Packagist Total Downloads

A PHP Salto client implementing the PMS Industry Standard protocol via TCP/IP.

Installation

You can install the package via composer:

Usage

Create a client

Try to open the connection

Throws ConnectionFailedException when failed.

Check if the server is available

Send a message

Messages available

Only the followings message have been implemented yet :

CNM : Check-in Mobile

Check-in for mobile apps.

Create access to a room for a guest with a phone number for given dates

You can specify the operator

You can set a text message to be shown on the phone’s display.

You can allow or deny access to doors. You have to pass an array in parameter :

CCM : Copy Mobile

Works the same way as CNM : CheckInMobileMessage.

MC : Modify

Modify a check in. Changing the expiry dates.

An error will be returned if the room is checked-out or not occupied.

CO : Check-out

Check-out a room.

Read response

An instance of Response is returned by the sendMessage method.

If no exceptions is thrown, it means that everything went fine.

Display the string representation of the response and the request

Handle exceptions

Use a try .. catch !

Existing exceptions :

Testing

TODO

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of salto with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
ext-sockets Version *
nesbot/carbon Version ^2.62
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 rohsyl/salto contains the following files

Loading the files please wait ....