Download the PHP package pixovoid/laravel-cloudflared without Composer

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

Laravel Cloudflared

A Laravel package for creating and managing Cloudflare Tunnels to provide secure public access to local development environments. This solution offers an alternative to services like ngrok or Expose, leveraging Cloudflare's infrastructure for tunneling requests directly to your local Laravel application.

Key Features

Disclaimer and Limitation of Liability

This software is provided "as is", without warranty of any kind, express or implied. The maintainers and contributors shall not be liable for any damages or losses, including but not limited to direct, indirect, incidental, special, exemplary, or consequential damages, arising from the use of this package. Users are solely responsible for ensuring the security, reliability, and compliance of their development and production environments. Use at your own risk.

Prerequisites

Before using this package, ensure you have:

  1. Cloudflared CLI: Install from Cloudflare's downloads page
  2. Cloudflare Authentication: Run cloudflared tunnel login to authenticate with your Cloudflare account and domain
  3. Laravel Herd: Install Laravel Herd for optimal local development experience

Installation

Install the package via Composer:

Usage

Creating a Tunnel

Create a Cloudflare tunnel for your project with a single command. This command will:

Note: Running this command again will modify the existing installation. You can change the subdomain, repair DNS records, or recreate the tunnel as needed.

Running the Tunnel

Start the tunnel to make your local development environment publicly accessible:

Removing a Tunnel

Clean up all resources when the tunnel is no longer needed:

Development Setup

Local Development with Path Repository

For developing or modifying the package, you can use Composer's path repository:

  1. Add the path repository to your Laravel application's composer.json:

  2. Require the package from the local path:

Testing

The package includes PHPUnit tests and uses orchestra/testbench for Laravel integration testing.

Run the test suite after installing development dependencies:

Platform Compatibility

Windows Support

This fork implements best-effort Windows compatibility with the following considerations:

For Windows usage, ensure:

Attribution and Licensing

This repository is a fork of the original project aerni/laravel-cloudflared (https://github.com/aerni/laravel-cloudflared).

Original Project

Fork Maintainer

License Information

This software is licensed under the MIT License. See the LICENSE file for the full license text.

Copyright for the original work belongs to Michael Aerni. PixoVoid is listed as the fork maintainer.

For a detailed summary of changes made in this fork, please refer to the NOTICE.md file.

Support

For issues, feature requests, or questions, please use the GitHub Issues page of this repository.

Related Packages

For seamless integration with Vite development server, consider using Cloudflared for Vite, which provides tunneled access to both your Laravel application and Vite's hot module replacement server, facilitating frontend debugging on real devices.


All versions of laravel-cloudflared with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
cloudflare/sdk Version ^1.4
illuminate/support Version ^12.41
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 pixovoid/laravel-cloudflared contains the following files

Loading the files please wait ...