Download the PHP package artisan-share/laravel without Composer

On this page you can find all versions of the php package artisan-share/laravel. 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 laravel

Artisan Share

Zero-config webhook tunnels for Laravel. Share a local endpoint with a public URL via a driver you own — a self-hosted relay, your own Cloudflare account, or any SSH host you already have.

This project is software only. It operates no shared relay, no backend, and no "artisan-share.com" service. Every public endpoint is deployed and owned by the person using it. There is nothing to sign up for.


Features

Contents

This monorepo ships three artifacts:

Artifact Path Description
Laravel package root composer.json The php artisan share command and config.
Tunnel client crates/tunnel-client A single static Rust binary spawned by the command.
Relay server crates/relay-server A reference self-hosted backend for the relay driver.

Requirements

Installation

The package registers its service provider automatically. On first php artisan share, the platform-appropriate Rust binary is downloaded from the GitHub release, its SHA-256 checksum is verified, and it is cached under ~/.artisan-share/bin.

To publish the config:

Usage

Press Ctrl+C to shut down cleanly. The tunnel session is torn down so the public URL is immediately invalidated.

Flags

Flag Description
--driver Tunnel backend: relay, cloudflare, or ssh.
--port Local port to forward to (default: your local_port config).
--subdomain Requested subdomain on the relay driver.
--basic-auth user:pass HTTP basic auth for the public endpoint.
--inspector-port Port for the local web inspector (0 disables).
--show-headers Print full request headers in the terminal log.
--binary Path to an already-installed tunnel client binary.

Drivers

Every driver terminates on infrastructure you already own. Pick the default in config/share.php (or SHARE_DRIVER).

Driver Backend Account Cost
relay The project's reference relay-server, which you deploy yourself. Whatever host you already use. Free tier of your host.
cloudflare Wraps your own cloudflared binary and Cloudflare account. Your Cloudflare account. Free.
ssh Classic ssh -R reverse tunnel. Any SSH host you can access. Free if you already have one.

relay

Deploy the reference server anywhere with the templates in deploy/:

cloudflare

cloudflared must already be installed and logged in (cloudflared login). Artisan Share only shells out to the session you already established.

ssh

Opens ssh -R <remote_port>:localhost:<port> to your host.

Local Web Inspector

By default a localhost-only dashboard runs at http://127.0.0.1:4040. It mirrors the terminal log and lets you:

Set --inspector-port=0 or inspector_port to disable it.

Webhook provider detection

The logger labels requests based on common signing headers (without validating payloads):

Redaction

Sensitive request headers (authorization, cookie, stripe-signature, …) and secret-shaped body patterns are masked in the terminal log and inspector by default. Use --show-headers to reveal headers.

Security

Opening a public ingress point to your machine is powerful. Read the full SECURITY.md for the threat model and reporting policy.

Development

See CONTRIBUTING.md.

Rust

PHP

Versioning & compatibility

All three published artifacts follow Semantic Versioning. The Rust client and relay server are compatible with each other at the wire protocol level; the PHP package and the Rust client share a JSON config contract. See the compatibility matrix below.

artifact version protocol config contract
v0.1 1 1

License

MIT


All versions of laravel with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/console Version ^10.0|^11.0|^12.0|^13.0
illuminate/contracts Version ^10.0|^11.0|^12.0|^13.0
illuminate/support Version ^10.0|^11.0|^12.0|^13.0
guzzlehttp/guzzle Version ^7.0
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 artisan-share/laravel contains the following files

Loading the files please wait ...