Download the PHP package sitruc/keenio without Composer

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

Latest Version Total Downloads

A convenient wrapper around the Keen.io PHP SDK for Laravel

Using this package you can send events to keen.io in laravel elegance. Here are a few examples from basic to elegant.

The most basic example, using the facade which accepts both a KeenEvent or the name and data directly.

Or pass a KeenEvent

If you prefer, you can send the event directly.

Queuing events.

Use keen.io's data enrichment.

Methods are fluent so the above example can become.

The following enrichment values are accepted. You can read more about data enrichment, also known as 'Add Ons' in the keen.io documentation

Subclassing KeenEvent can be even more powerful.

Behind the scenes this packages uses laravel's dispatch handler. This means you can implement the ShouldQueue interface and dispatch onto specific queues just like you would any other job.

Here is an example of reporting a registration event on a keenio queue with enriched created_at and upgrade_date. Simple and elegant!

Install

This package can be installed through Composer.

You must install this service provider.

This package also comes with a facade, which provides an easy way to call the the class.

This package requires a you to add your project_id write_key read_key and enabled to the services config file.

the enabled flag is useful if you want to shut off keen reporting in certain environments.

Testing

Run the tests with:

or

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 keenio with dependencies

PHP Build Version
Package Version
Requires php Version ^7.0
keen-io/keen-io Version ~2.5
illuminate/support Version 5.3.*|5.4.*|5.5.*|5.6.*|5.7.*|5.8.*|^6.0
illuminate/filesystem Version 5.3.*|5.4.*|5.5.*|5.6.*|5.7.*|5.8.*|^6.0
illuminate/config Version 5.3.*|5.4.*|5.5.*|5.6.*|5.7.*|5.8.*|^6.0
illuminate/contracts Version 5.3.*|5.4.*|5.5.*|5.6.*|5.7.*|5.8.*|^6.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 sitruc/keenio contains the following files

Loading the files please wait ....