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)96216.0k↓70%11[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 3d 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 95% of packages

Maintenance41

Moderate activity, may be stable

Popularity48

Moderate usage in the ecosystem

Community14

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 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

493d 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://avatars.githubusercontent.com/u/5104869?v=4)[Jairo Correa](/maintainers/jn-jairo)[@jn-jairo](https://github.com/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

[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M131](/packages/roots-acorn)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77022.3M151](/packages/laravel-mcp)[laravel/cashier

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

2.6k29.9M148](/packages/laravel-cashier)[api-platform/laravel

API Platform support for Laravel

58171.6k14](/packages/api-platform-laravel)

PHPackages © 2026

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