Download the PHP package zenepay/laravel-infobip without Composer

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

Laravel Infobip

Laravel client for the Infobip People API: read and update person profiles, batch updates, and people events.

Laravel discovers the service provider and the Infobip facade automatically.

Requirements

Install

From Packagist, after you publish the package:

From GitHub before it is on Packagist, add the repository and require the branch:

The Composer package name is zenepay/laravel-infobip. Point the VCS repository at the GitHub account that owns the repository.

Configuration

INFOBIP_API_ADDRESS is the base URL from the Infobip portal, with no path and no trailing slash. The token is sent as Authorization: App {token}.

Publish the config file when you want to edit attribute filters or HTTP options in PHP:

config/infobip.php has empty attribute allow-lists, so every custom attribute is sent. Add keys to a list to drop anything else. Person updates filter customAttributes only. Purchase and referral events are filtered only when the payload includes a customAttributes array; those filtered values become the event properties.

The current tanos module disables TLS verification and uses the shared API proxy. Match that only if this app still needs it:

Usage

sendEventPurchase() and sendEventReferralRedeem() return null when the email is missing. batchUpdatePeople() turns an empty success body into results[0]->status = 201, because Infobip often returns no JSON on success. A JSON error body is returned as Infobip sent it.

getPeople() requests page 1 unless you pass another page. The in-app module always requested page 100.

What stays in the application

app/Modules/Infobip/Controllers/InfobipController.php loads Club21 sales, members, vouchers, and promotions, then calls this client. That sync is not part of the package. Keep the controller in the app and point it at Zenepay\Infobip\Infobip when you switch.

Tests

Tests fake the HTTP client. They do not call Infobip.

Publishing the GitHub repository

This folder is the package root. The parent application gitignores /packages/, so initialize git here rather than committing the package into the application repository.

On GitHub, add a description and the topics laravel and infobip. To list it on Packagist, submit the repository URL at packagist.org/packages/submit and add the Packagist webhook.

License

MIT. See LICENSE.


All versions of laravel-infobip with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/http Version ^10.0|^11.0|^12.0|^13.0
illuminate/support Version ^10.0|^11.0|^12.0|^13.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 zenepay/laravel-infobip contains the following files

Loading the files please wait ...