laravel-ngrok maintained by jn-jairo
Description
Share Laravel application with ngrok.
Author
Last update
2025/02/27 01:47
(3.x-dev)
License
Downloads
213 993
Tags
Last update
2025/02/27 01:47
License
Require
- php ^8.1
- guzzlehttp/guzzle ^6.5.8|^7.4.5
- symfony/process ^5.4|^6.0|^7.0
- illuminate/console ^8.83|^9.0|^10.0|^11.0|^12.0
- illuminate/http ^8.83|^9.0|^10.0|^11.0|^12.0
- illuminate/pagination ^8.83|^9.0|^10.0|^11.0|^12.0
- illuminate/routing ^8.83|^9.0|^10.0|^11.0|^12.0
- illuminate/support ^8.83|^9.0|^10.0|^11.0|^12.0
Last update
2025/02/27 01:47
License
Require
- php ^8.1
- guzzlehttp/guzzle ^6.5.8|^7.4.5
- symfony/process ^5.4|^6.0|^7.0
- illuminate/console ^8.83|^9.0|^10.0|^11.0|^12.0
- illuminate/http ^8.83|^9.0|^10.0|^11.0|^12.0
- illuminate/pagination ^8.83|^9.0|^10.0|^11.0|^12.0
- illuminate/routing ^8.83|^9.0|^10.0|^11.0|^12.0
- illuminate/support ^8.83|^9.0|^10.0|^11.0|^12.0
Last update
2025/02/27 01:47
License
Require
- php ^8.1
- guzzlehttp/guzzle ^6.5.8|^7.4.5
- illuminate/console ^8.83|^9.0|^10.0|^11.0|^12.0
- illuminate/http ^8.83|^9.0|^10.0|^11.0|^12.0
- illuminate/pagination ^8.83|^9.0|^10.0|^11.0|^12.0
- illuminate/routing ^8.83|^9.0|^10.0|^11.0|^12.0
- illuminate/support ^8.83|^9.0|^10.0|^11.0|^12.0
- symfony/process ^5.4|^6.0|^7.0
Last update
2024/03/15 00:34
License
Require
- php ^8.1
- guzzlehttp/guzzle ^6.5.8|^7.4.5
- illuminate/console ^8.83|^9.0|^10.0|^11.0
- illuminate/http ^8.83|^9.0|^10.0|^11.0
- illuminate/pagination ^8.83|^9.0|^10.0|^11.0
- illuminate/routing ^8.83|^9.0|^10.0|^11.0
- illuminate/support ^8.83|^9.0|^10.0|^11.0
- symfony/process ^5.4|^6.0|^7.0
Last update
2023/04/12 19:57
License
Require
- php ^8.1
- guzzlehttp/guzzle ^6.5.8|^7.4.5
- illuminate/console ^8.83|^9.0|^10.0
- illuminate/http ^8.83|^9.0|^10.0
- illuminate/pagination ^8.83|^9.0|^10.0
- illuminate/routing ^8.83|^9.0|^10.0
- illuminate/support ^8.83|^9.0|^10.0
- symfony/process ^5.4|^6.0
Last update
2023/03/03 01:20
License
Require
- php ^7.3|^8.0
- guzzlehttp/guzzle ^6.3|^7.0
- illuminate/console ^6.0|^7.0|^8.0|^9.0
- illuminate/http ^6.0|^7.0|^8.0|^9.0
- illuminate/pagination ^6.0|^7.0|^8.0|^9.0
- illuminate/routing ^6.0|^7.0|^8.0|^9.0
- illuminate/support ^6.0|^7.0|^8.0|^9.0
- symfony/process ^4.0|^5.0|^6.0
Last update
2023/03/03 01:19
License
Require
- php ^7.2
- guzzlehttp/guzzle ^6.3|^7.0
- illuminate/console ^5.8|^6.0|^7.0
- illuminate/http ^5.8|^6.0|^7.0
- illuminate/pagination ^5.8|^6.0|^7.0
- illuminate/routing ^5.8|^6.0|^7.0
- illuminate/support ^5.8|^6.0|^7.0
- symfony/process ^4.0|^5.0
Last update
2023/02/26 02:44
License
Require
- php ^8.1
- illuminate/console ^8.83|^9.0|^10.0
- illuminate/http ^8.83|^9.0|^10.0
- illuminate/pagination ^8.83|^9.0|^10.0
- illuminate/routing ^8.83|^9.0|^10.0
- illuminate/support ^8.83|^9.0|^10.0
- symfony/process ^5.4|^6.0
- guzzlehttp/guzzle ^6.5.8|^7.4.5
Last update
2023/01/13 21:56
License
Require
- php ^7.3|^8.0
- guzzlehttp/guzzle ^6.3|^7.0
- illuminate/console ^6.0|^7.0|^8.0|^9.0
- illuminate/http ^6.0|^7.0|^8.0|^9.0
- illuminate/pagination ^6.0|^7.0|^8.0|^9.0
- illuminate/routing ^6.0|^7.0|^8.0|^9.0
- illuminate/support ^6.0|^7.0|^8.0|^9.0
- symfony/process ^4.0|^5.0|^6.0
Last update
2022/03/03 23:36
License
Require
- php ^7.3|^8.0
- guzzlehttp/guzzle ^6.3|^7.0
- illuminate/console ^6.0|^7.0|^8.0|^9.0
- illuminate/http ^6.0|^7.0|^8.0|^9.0
- illuminate/pagination ^6.0|^7.0|^8.0|^9.0
- illuminate/routing ^6.0|^7.0|^8.0|^9.0
- illuminate/support ^6.0|^7.0|^8.0|^9.0
- symfony/process ^4.0|^5.0|^6.0
Last update
2022/02/11 22:55
License
Require
- php ^7.3|^8.0
- guzzlehttp/guzzle ^6.3|^7.0
- illuminate/console ^6.0|^7.0|^8.0|^9.0
- illuminate/http ^6.0|^7.0|^8.0|^9.0
- illuminate/pagination ^6.0|^7.0|^8.0|^9.0
- illuminate/routing ^6.0|^7.0|^8.0|^9.0
- illuminate/support ^6.0|^7.0|^8.0|^9.0
- symfony/process ^4.0|^5.0|^6.0
Last update
2022/02/11 22:26
License
Require
- php ^7.2
- guzzlehttp/guzzle ^6.3|^7.0
- illuminate/console ^5.8|^6.0|^7.0
- illuminate/http ^5.8|^6.0|^7.0
- illuminate/pagination ^5.8|^6.0|^7.0
- illuminate/routing ^5.8|^6.0|^7.0
- illuminate/support ^5.8|^6.0|^7.0
- symfony/process ^4.0|^5.0
Last update
2021/09/01 05:26
License
Require
- php ^7.3|^8.0
- guzzlehttp/guzzle ^6.3|^7.0|^8.0
- illuminate/console ^6.0|^7.0|^8.0
- illuminate/http ^6.0|^7.0|^8.0
- illuminate/pagination ^6.0|^7.0|^8.0
- illuminate/routing ^6.0|^7.0|^8.0
- illuminate/support ^6.0|^7.0|^8.0
- symfony/process ^4.0|^5.0
Last update
2020/09/09 14:45
License
Require
- php ^7.3
- guzzlehttp/guzzle ^6.3|^7.0|^8.0
- illuminate/console ^6.0|^7.0|^8.0
- illuminate/http ^6.0|^7.0|^8.0
- illuminate/pagination ^6.0|^7.0|^8.0
- illuminate/routing ^6.0|^7.0|^8.0
- illuminate/support ^6.0|^7.0|^8.0
- symfony/process ^4.0|^5.0
Last update
2020/08/14 05:16
License
Require
- php ^7.2
- illuminate/console ^5.8|^6.0|^7.0
- illuminate/http ^5.8|^6.0|^7.0
- illuminate/pagination ^5.8|^6.0|^7.0
- illuminate/routing ^5.8|^6.0|^7.0
- illuminate/support ^5.8|^6.0|^7.0
- symfony/process ^4.0|^5.0
- guzzlehttp/guzzle ^6.3|^7.0
Last update
2020/03/09 01:44
License
Require
- php ^7.2
- guzzlehttp/guzzle ^6.3
- illuminate/console ^5.8|^6.0|^7.0
- illuminate/http ^5.8|^6.0|^7.0
- illuminate/pagination ^5.8|^6.0|^7.0
- illuminate/routing ^5.8|^6.0|^7.0
- illuminate/support ^5.8|^6.0|^7.0
- symfony/process ^4.0|^5.0
Last update
2019/09/15 02:21
License
Require
- php ^7.2
- guzzlehttp/guzzle ^6.3
- illuminate/console ^5.8|^6.0
- illuminate/http ^5.8|^6.0
- illuminate/pagination ^5.8|^6.0
- illuminate/routing ^5.8|^6.0
- illuminate/support ^5.8|^6.0
- symfony/process ^4.0
Last update
2019/03/02 20:06
License
Require
- php ^7.1
- guzzlehttp/guzzle ^6.3
- illuminate/console ~5.5.28|5.6.*|5.7.*|5.8.*
- illuminate/http ~5.5.28|5.6.*|5.7.*|5.8.*
- illuminate/pagination ~5.5.28|5.6.*|5.7.*|5.8.*
- illuminate/routing ~5.5.28|5.6.*|5.7.*|5.8.*
- illuminate/support ~5.5.28|5.6.*|5.7.*|5.8.*
- symfony/process ^3.3|^4.0
Last update
2018/11/03 16:48
License
Require
- php ^7.1
- guzzlehttp/guzzle ^6.3
- illuminate/console ~5.5.28|5.6.*|5.7.*
- illuminate/http ~5.5.28|5.6.*|5.7.*
- illuminate/pagination ~5.5.28|5.6.*|5.7.*
- illuminate/routing ~5.5.28|5.6.*|5.7.*
- illuminate/support ~5.5.28|5.6.*|5.7.*
- symfony/process ^3.3|^4.0
Last update
2018/10/14 21:33
License
Require
- php ^7.1
- guzzlehttp/guzzle ^6.3
- illuminate/console ~5.5.28|5.6.*|5.7.*
- illuminate/http ~5.5.28|5.6.*|5.7.*
- illuminate/routing ~5.5.28|5.6.*|5.7.*
- illuminate/support ~5.5.28|5.6.*|5.7.*
- symfony/process ^3.3|^4.0
Share Laravel application with ngrok
This package allows you to share your Laravel application with ngrok.
Requirements
- Ngrok >= 2.2.8 (If you are using Laravel Homestead this should be already installed)
Version Compatibility
| Laravel | Laravel Ngrok |
|---|---|
| 5.8.x | 1.x |
| 6.x | 1.x |
| 7.x | 1.x |
| 8.x | 2.x |
| 9.x | 2.x |
| 10.x | 3.x |
| 11.x | 3.x |
| 12.x | 3.x |
Installation
You can install the package via composer:
composer require --dev jn-jairo/laravel-ngrok
The NgrokServiceProvider will be automatically registered for you.
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
php artisan ngrok [options] [--] [<host-header>]
| Argument | Description |
|---|---|
| host-header | Host header to identify the app (Example: myapp.test) |
| Option | Description |
|---|---|
| -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
# 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
The MIT License (MIT). Please see License File for more information.