PHPackages                             amdadulhaq/cloudflared-valet - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. amdadulhaq/cloudflared-valet

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

amdadulhaq/cloudflared-valet
============================

A Laravel package to create and manage Cloudflare Tunnels for local development

v1.2.0(1mo ago)0164MITPHPPHP ^8.2

Since Nov 12Pushed 1mo agoCompare

[ Source](https://github.com/amdad121/laravel-cloudflared-valet)[ Packagist](https://packagist.org/packages/amdadulhaq/cloudflared-valet)[ Docs](https://github.com/amdad121/laravel-cloudflared-valet)[ RSS](/packages/amdadulhaq-cloudflared-valet/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (6)Versions (7)Used By (0)

Cloudflared for Laravel
=======================

[](#cloudflared-for-laravel)

A simple package to create and manage Cloudflare Tunnels for your Laravel projects. Cloudflare Tunnels give you instant public access to your local development environment, similar to Expose or ngrok, but powered by Cloudflare. Perfect for testing webhooks and sharing work-in-progress.

Pair it with [Cloudflared for Vite](https://github.com/aerni/vite-plugin-laravel-cloudflared) to get seamless tunneled access to both your Laravel app and Vite's dev server, making it effortless to debug your frontend on real devices like your iPhone.

Prerequisites
-------------

[](#prerequisites)

1. Install [cloudflared](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/downloads)
2. Run `cloudflared tunnel login` to authenticate the desired domain
3. Install [Laravel Valet](https://github.com/laravel/valet)

Installation
------------

[](#installation)

Install the package using Composer:

```
composer require amdadulhaq/cloudflared-valet
```

Basic Usage
-----------

[](#basic-usage)

### Creating a tunnel

[](#creating-a-tunnel)

Create a tunnel for your project with a single command. This will create a Cloudflare tunnel, configure DNS records, set up a Valet link, and save the configuration to `.cloudflared.yaml` in your project root.

```
php artisan cloudflared:install
```

> **Note:** Run this command again to modify the existing installation. Change the subdomain, create or repair DNS records, or delete and recreate the tunnel.

### Running the tunnel

[](#running-the-tunnel)

Start the tunnel to make your local site publicly accessible.

```
php artisan cloudflared:run
```

### Deleting the tunnel

[](#deleting-the-tunnel)

Remove the tunnel, DNS records, and configuration when you no longer need it.

```
php artisan cloudflared:uninstall
```

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](LICENSE).

Credits
-------

[](#credits)

This package is maintained by [Amdadul Haq](https://amdadulhaq.com).

Originally developed by [Michael Aerni](https://michaelaerni.ch).

Support
-------

[](#support)

For issues and questions, please use the [GitHub Issues](https://github.com/amdad121/laravel-cloudflared-valet/issues) page.

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance90

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~25 days

Recently: every ~32 days

Total

6

Last Release

51d ago

Major Versions

v0.2.0 → v1.2.02026-03-20

### Community

Maintainers

![](https://www.gravatar.com/avatar/7219b32db58e53dddb8a970aec40c9a41ec7d6dbf3570fd89ac14abe7424532e?d=identicon)[amdadulhaq](/maintainers/amdadulhaq)

---

Top Contributors

[![aerni](https://avatars.githubusercontent.com/u/23167701?v=4)](https://github.com/aerni "aerni (52 commits)")[![amdad121](https://avatars.githubusercontent.com/u/11732880?v=4)](https://github.com/amdad121 "amdad121 (5 commits)")

### Embed Badge

![Health badge](/badges/amdadulhaq-cloudflared-valet/health.svg)

```
[![Health](https://phpackages.com/badges/amdadulhaq-cloudflared-valet/health.svg)](https://phpackages.com/packages/amdadulhaq-cloudflared-valet)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M683](/packages/barryvdh-laravel-ide-helper)[illuminate/pipeline

The Illuminate Pipeline package.

9446.6M210](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10532.5M858](/packages/illuminate-pagination)[spatie/laravel-pjax

A pjax middleware for Laravel 5

513371.8k11](/packages/spatie-laravel-pjax)[spatie/laravel-mix-preload

Add preload and prefetch links based your Mix manifest

169176.0k2](/packages/spatie-laravel-mix-preload)[illuminate/cookie

The Illuminate Cookie package.

224.3M120](/packages/illuminate-cookie)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
