PHPackages                             jn-jairo/laravel-ngrok - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. jn-jairo/laravel-ngrok

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

jn-jairo/laravel-ngrok
======================

Share Laravel application with ngrok.

v3.0.3(1y ago)95204.0k↓26.6%12[1 PRs](https://github.com/jn-jairo/laravel-ngrok/pulls)1MITPHPPHP ^8.1

Since Oct 14Pushed 1y ago2 watchersCompare

[ Source](https://github.com/jn-jairo/laravel-ngrok)[ Packagist](https://packagist.org/packages/jn-jairo/laravel-ngrok)[ Docs](https://github.com/jn-jairo/laravel-ngrok)[ RSS](/packages/jn-jairo-laravel-ngrok/feed)WikiDiscussions 3.x Synced 1mo ago

READMEChangelog (10)Dependencies (12)Versions (20)Used By (1)

[![Total Downloads](https://camo.githubusercontent.com/9f994e11e3f927371b4840ecc2289f519835279cd1a7226607b17bf6c470d1c8/68747470733a2f2f706f7365722e707567782e6f72672f6a6e2d6a6169726f2f6c61726176656c2d6e67726f6b2f646f776e6c6f616473)](https://packagist.org/packages/jn-jairo/laravel-ngrok)[![Latest Stable Version](https://camo.githubusercontent.com/3efe8dee00a3ab1aa312056362a5a1a00975966d2f6630d16027d63f157545dd/68747470733a2f2f706f7365722e707567782e6f72672f6a6e2d6a6169726f2f6c61726176656c2d6e67726f6b2f762f737461626c65)](https://packagist.org/packages/jn-jairo/laravel-ngrok)[![License](https://camo.githubusercontent.com/f638d5d91dd6e18115a7e017d0e63b5e46cf11022193208a9c8b605b6b19a94c/68747470733a2f2f706f7365722e707567782e6f72672f6a6e2d6a6169726f2f6c61726176656c2d6e67726f6b2f6c6963656e7365)](https://packagist.org/packages/jn-jairo/laravel-ngrok)

Share Laravel application with ngrok
====================================

[](#share-laravel-application-with-ngrok)

This package allows you to share your Laravel application with [ngrok](https://ngrok.com).

Requirements
------------

[](#requirements)

- Ngrok &gt;= 2.2.8 (If you are using [Laravel Homestead](https://laravel.com/docs/homestead) this should be already installed)

Version Compatibility
---------------------

[](#version-compatibility)

LaravelLaravel Ngrok5.8.x1.x6.x1.x7.x1.x8.x2.x9.x2.x10.x3.x11.x3.x12.x3.xInstallation
------------

[](#installation)

You can install the package via composer:

```
composer require --dev jn-jairo/laravel-ngrok
```

The `NgrokServiceProvider` will be automatically registered for you.

Usage
-----

[](#usage)

Just call the artisan command to start the ngrok.

```
php artisan ngrok
```

The parameters for ngrok will be extracted from your application.

Advanced usage
--------------

[](#advanced-usage)

```
php artisan ngrok [options] [--] []
```

ArgumentDescription**host-header**Host header to identify the app (Example: myapp.test)OptionDescription**-H, --host\[=HOST\]**Host to tunnel the requests (default: localhost)**-P, --port\[=PORT\]**Port to tunnel the requests (default: 80)**-E, --extra\[=EXTRA\]**Extra arguments to ngrok command (multiple values allowed)Examples
--------

[](#examples)

```
# If you have multiples apps (myapp.test, my-other-app.test, ...)
# set it in the app.url configuration
# or pass it in the host-header argument

php artisan ngrok myapp.test

# If you use a different port, set it in the app.url configuration
# or pass it in the --port option

php artisan ngrok --port=8000 myapp.test

# If you use docker and have containers like (nginx, php, workspace)
# and wanna run the command inside the workspace container
# pass the name of the container the requests will tunnel through

php artisan ngrok --host=nginx example.com

# If you wanna pass other arguments directly to ngrok
# use the --extra or -E option

php artisan ngrok --extra='--region=eu' -E'--config=ngrok.yml'
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance43

Moderate activity, may be stable

Popularity49

Moderate usage in the ecosystem

Community14

Small or concentrated contributor base

Maturity79

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~129 days

Recently: every ~182 days

Total

19

Last Release

446d ago

Major Versions

v1.0.1 → v2.0.02020-09-09

v1.0.2 → v2.0.22022-02-11

v2.0.4 → v3.0.02023-02-26

1.x-dev → 2.x-dev2023-03-03

2.x-dev → v3.0.12023-04-12

PHP version history (5 changes)v0.0.1PHP ^7.1

v0.0.4PHP ^7.2

v2.0.0PHP ^7.3

v2.0.1PHP ^7.3|^8.0

v3.0.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/31b281cc6941f9371b89b557610b84336a1ed73ecc661ee77f490a1abcdcdb9f?d=identicon)[jn-jairo](/maintainers/jn-jairo)

---

Top Contributors

[![jn-jairo](https://avatars.githubusercontent.com/u/5104869?v=4)](https://github.com/jn-jairo "jn-jairo (31 commits)")

---

Tags

jn-jairolaravel-ngrok

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/jn-jairo-laravel-ngrok/health.svg)

```
[![Health](https://phpackages.com/badges/jn-jairo-laravel-ngrok/health.svg)](https://phpackages.com/packages/jn-jairo-laravel-ngrok)
```

###  Alternatives

[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.5k25.9M107](/packages/laravel-cashier)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[spatie/laravel-export

Create a static site bundle from a Laravel app

646127.9k5](/packages/spatie-laravel-export)[glhd/conveyor-belt

14797.0k](/packages/glhd-conveyor-belt)[laragear/preload

Effortlessly make a Preload script for your Laravel application.

119363.5k](/packages/laragear-preload)

PHPackages © 2026

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