Download the PHP package rentercheck/rentercheck-php without Composer

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

rentercheck/rentercheck-php

Official PHP and Laravel client for RenterCheck, the renter history and renter score network for rental businesses in the Philippines.

Send every booking, get the renter's verdict and 300-850 score back on the same call, report incidents, and render the RenterCheck badge. Needs PHP 8.1+ with curl and nothing else, so it works in Laravel, plain PHP, WordPress, Symfony, and CodeIgniter.

Docs: https://www.rentercheck.ph/developers/sdks

Install

Get a key at https://www.rentercheck.ph/partners and set RENTERCHECK_API_KEY in your environment. Use an rc_test_ key while you build: the phone numbers 0999 000 0001 to 0999 000 0005 return every verdict.

Laravel

The package registers itself: a RenterCheck facade, config/rentercheck.php, and the <x-rentercheck-badge> Blade component.

Optional: php artisan vendor:publish --tag=rentercheck-config. You can also inject RenterCheck\RenterCheck from the container.

Plain PHP

Methods

Method What it does
bookings->save($booking) Create or update a booking and get the renter's result
bookings->update($bookingId, $changes) Change status, dates, or amount
bookings->get($bookingId) Saved booking with a fresh renter result
bookings->import($bookings, $onBatch) Backfill any number of past bookings, 200 per call
bookings->addDocument($bookingId, $path, $kind, $idType) Attach the renter's ID photo, driver's license, selfie, or proof of address (admins only)
renters->check($renter) Check a renter before booking; saves new renters
renters->lookup($renter) Read-only check
incidents->report($report) Report an incident and open the renter's response window
incidents->addEvidence($id, $path, $type) Attach a photo or PDF (10 MB max)
incidents->get($id) Follow a case
ping() Check the key and mode

Results are arrays shaped like the JSON responses and never contain renter personal data. Rate limits, server errors, and network failures are retried twice with backoff (max_retries option).

Development

MIT License


All versions of rentercheck-php with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
ext-curl Version *
ext-json Version *
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 rentercheck/rentercheck-php contains the following files

Loading the files please wait ...