This package allows you to share your Laravel application with ngrok.
- Ngrok >= 2.2.8 (If you are using Laravel Homestead this should be already installed)
Laravel | Laravel Ngrok |
---|---|
5.8.x | 1.x |
6.x | 1.x |
7.x | 1.x |
8.x | 2.x |
You can install the package via composer:
composer require --dev jn-jairo/laravel-ngrok
The NgrokServiceProvider
will be automatically registered for you.
Just call the artisan command to start the ngrok.
php artisan ngrok
The parameters for ngrok will be extracted from your application.
You can also pass custom host and port.
php artisan ngrok example.com --port=8000
The MIT License (MIT). Please see License File for more information.