PHPackages                             injamio/injam-laravel-package - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. injamio/injam-laravel-package

ActiveLibrary[Framework](/categories/framework)

injamio/injam-laravel-package
=============================

Injam.io Laravel Package

0.2(7y ago)1101MITPHPPHP &gt;=7.0

Since May 21Pushed 7y ago2 watchersCompare

[ Source](https://github.com/injamio/injam-laravel-package)[ Packagist](https://packagist.org/packages/injamio/injam-laravel-package)[ RSS](/packages/injamio-injam-laravel-package/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

Injam Laravel Package
=====================

[](#injam-laravel-package)

[![Build Status](https://camo.githubusercontent.com/63c8bb430ec610c7ab98c94581502d59a5c0a0059e81d194c209f0b58ca02d4b/68747470733a2f2f7472617669732d63692e6f72672f696e6a616d696f2f696e6a616d2d6c61726176656c2d7061636b6167652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/injamio/injam-laravel-package)[![styleci](https://camo.githubusercontent.com/2baaa14aea61e7d26030a7d3e1f4074c808c26416a1404a392bb7d11426693bd/68747470733a2f2f7374796c6563692e696f2f7265706f732f3133343132373738392f736869656c64)](https://styleci.io/repos/134127789)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/5ddf7c7713c5a18c77dd5699b162c4a1e97e35a4ca886ab53079bc13f382aabe/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f696e6a616d696f2f696e6a616d2d6c61726176656c2d7061636b6167652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/injamio/injam-laravel-package/?branch=master)[![SensioLabsInsight](https://camo.githubusercontent.com/8223b0f6696390ec3228483c9641018089a3c81662c07b12df59251e8f12fb04/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f32616162666638632d376161342d346335362d393536392d6131383266396131383031662f6d696e692e706e67)](https://insight.sensiolabs.com/projects/CHANGEME)[![Coverage Status](https://camo.githubusercontent.com/44d728a70ccc0246a6ba35de47c2edfb49a91f2701a08c13d54c7aa7bf62a15a/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f696e6a616d696f2f696e6a616d2d6c61726176656c2d7061636b6167652f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/injamio/injam-laravel-package?branch=master)

[![Packagist](https://camo.githubusercontent.com/4ed2add879d8e5fdb2a096e00965c9628da94bfd123637ef6f080a5c15023659/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f696e6a616d696f2f696e6a616d2d6c61726176656c2d7061636b6167652e737667)](https://packagist.org/packages/injamio/injam-laravel-package)[![Packagist](https://camo.githubusercontent.com/9cb78866b1aa4786d9de8b29a4b4f06f1b4b404f735330af9223a4d842e66f69/68747470733a2f2f706f7365722e707567782e6f72672f696e6a616d696f2f696e6a616d2d6c61726176656c2d7061636b6167652f642f746f74616c2e737667)](https://packagist.org/packages/injamio/injam-laravel-package)[![Packagist](https://camo.githubusercontent.com/c97b5072c7dc1d4dde242f17cc8ccc4cbaa9cbd41b12c9536fa2612022d66fb3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f696e6a616d696f2f696e6a616d2d6c61726176656c2d7061636b6167652e737667)](https://packagist.org/packages/injamio/injam-laravel-package)

"Injam" is a Next Generation Real-Time Machine that provides a set of Geolocation, Geospatial, Messaging and Streaming services in fast (almost-teleporting) and secure way. So this Package enables you to interact with them easily from server side.

Installation
------------

[](#installation)

Install via composer

```
composer require injamio/injam-laravel-package
```

### Register Service Provider

[](#register-service-provider)

Note: This and next steps are optional if you use Laravel &gt;= 5.5 with package auto discovery feature.

Add service provider to `config/app.php` in `providers` section

```
Injamio\InjamLaravelPackage\ServiceProvider::class,
```

### Register Facade

[](#register-facade)

Register package facade in `config/app.php` in `aliases` section

```
'Injamio' => Injamio\InjamLaravelPackage\Facades\InjamLaravelPackage::class,
```

### Publish Configuration File

[](#publish-configuration-file)

```
php artisan vendor:publish --provider="Injamio\InjamLaravelPackage\ServiceProvider" --tag="config"
```

### API Key

[](#api-key)

Add `INJAM_API_KEY` to your `.env` file:

```
INJAM_API_KEY=YOUR_INJAM_API_KEY
```

[Here](https://dashboard.injam.io/applications) you can find you application api key.

Usage
-----

[](#usage)

Use package in your controller:

```
use Injamio\InjamLaravelPackage\InjamLaravelPackage;
```

Create instance of InjamLaravelPackage class:

```
$injam = new InjamLaravelPackage;
```

#### Add Tracker:

[](#add-tracker)

```
$tracker = $injam->addTracker(TRACKING_PHYSICAL_ID, TRACKER_MOBILE);
```

Example:

```
$tracker = $injam->addTracker('zxcvbn', '09123456789');
```

#### Add Geofence webhook:

[](#add-geofence-webhook)

```
$hook = $injam->addGeoFenceWebhook(OBJECT_TYPE, PHYSICAL_ID, TARGET_POINT, RADIUS_IN_METERS, ENDPOINT, DETECT_EVENTS);
```

Example:

```
$hook = $injam->addGeoFenceWebhook('bike', 'zxcvbn', '35.7384336,51.4026536', 60, 'https://api.example.com/v1/do/action', 'enter,exit');
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 53.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~9 days

Total

2

Last Release

2904d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d764c99742a54019935f13a3cc51e2d492162e67bead5c15ae109fe794b45abb?d=identicon)[injam](/maintainers/injam)

---

Top Contributors

[![aljamzd](https://avatars.githubusercontent.com/u/133158?v=4)](https://github.com/aljamzd "aljamzd (8 commits)")[![sonemaro](https://avatars.githubusercontent.com/u/1160456?v=4)](https://github.com/sonemaro "sonemaro (7 commits)")

---

Tags

laravelpackageinjaminjam.io

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/injamio-injam-laravel-package/health.svg)

```
[![Health](https://phpackages.com/badges/injamio-injam-laravel-package/health.svg)](https://phpackages.com/packages/injamio-injam-laravel-package)
```

###  Alternatives

[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k96.9M674](/packages/laravel-socialite)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/boost

Laravel Boost accelerates AI-assisted development by providing the essential context and structure that AI needs to generate high-quality, Laravel-specific code.

3.4k10.6M274](/packages/laravel-boost)[laravel/slack-notification-channel

Slack Notification Channel for laravel.

89069.7M111](/packages/laravel-slack-notification-channel)[laravel/envoy

Elegant SSH tasks for PHP.

1.6k5.5M18](/packages/laravel-envoy)[laravel/vapor-cli

The Laravel Vapor CLI

31310.7M8](/packages/laravel-vapor-cli)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
