Download the PHP package laragear/expose without Composer

On this page you can find all versions of the php package laragear/expose. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package expose

Expose

Latest Version on Packagist Latest stable test run Codecov coverage Maintainability Sonarcloud Status

Expose your application to the Internet in one command

Become a sponsor

Your support allows me to keep this package free, up to date, and maintainable.

Requirements

Installation

You can install the package via Composer.

How does this work?

This composer plugin manages popular tunneling services to expose your application on the Internet. This is great when you want to show your application development to somebody far away, through a simple link, especially when dealing with live-client videocalls or meetings.

Supported Tunnel Services

Service Key Distributed as Auth required
ngrok ngrok Binary (cURL) Optional (free tier)
Cloudflare Tunnel cloudflare Binary (cURL) Optional (quick tunnels)
InstaTunnel instatunnel NPM package Optional
Localtunnel localtunnel NPM package No
Pinggy pinggy SSH (system binary) Optional
Zrok zrok Binary (cURL) Yes (free account)

[!TIP]

You can add your own tunnel services.

Usage

To expose your application to the Internet, simple use composer expose:

On the first run, the command will:

  1. Detect your PHP framework (Laravel, Symfony, WordPress, CakePHP, Yii, Lumen, or plain PHP).
  2. Ask which tunnel service you prefer, then save the choice to composer.json.
  3. Check that the tunnel binary is installed; download it or guide you through manual installation if not.
  4. Run a local development server on http://localhost:8080 (or the preferreded by your app).
  5. Start the tunnel and print the public URL.

The are some options you can use when exposing your application:

Option Short Description
--host Local host to bind to (default: localhost)
--port -p Local port to bind to (default: 8080)
--tunnel -t Override the tunnel service for this run only

For example, you can use ngrok using an alternative host and port.

Updating tunnels

To update the tunnel library, or only one given tunnel, use the expose:update command.

Configuring tunnels

The expose:configure command will walk you through service-specific prompts (auth tokens, subdomains, regions, etc.) to properly configure the tunnel you're using.

[!TIP]

Sensitive values like auth tokens are never set in the composer.json.

Checking tunnel status

To display whether the tunnel is running, the current public URL, and the connection count (where available), use the expose:status command.

Uninstall tunnel binaries

The expose:uninstall command will uninstall all tunnel binaries. It does not uninstall the plugin.

Adding additional tunnels

You may be not happy with the current selection of tunnels. In that case, you can add your own tunnel in your extra.expose key in your composer.json.

The tunnel should state the default tunnel, and the tunnels should describe your tunnels labels and class.

The CorpVpnTunnel class must implement Laragear\Expose\Contracts\Tunnel (or extend AbstractTunnel which may be easier):

Adding a tunnel via package

If you're a package author, you can also make your package a tunnel-provider by offering your own adapter through the extra.expose-tunnel key.

Security

If you discover any security-related issues, issue a Security Advisory.

License

This specific package version is licensed under the terms of the MIT License, at the time of publishing.

Laravel is a Trademark of Taylor Otwell. Copyright © 2011-2026 Laravel LLC.


All versions of expose with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
ext-curl Version *
ext-zip Version *
composer-plugin-api Version ^2.6
godruoyi/easy-container Version 3.*
symfony/console Version ^7.4.7|^8.0.7
symfony/process Version ^7.4.7|^8.0.5
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package laragear/expose contains the following files

Loading the files please wait ...