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.1.0(9mo ago)0164MITPHPPHP ^8.2

Since Nov 12Pushed 5mo agoCompare

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

READMEChangelogDependencies (9)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

37

—

LowBetter than 81% of packages

Maintenance66

Regular maintenance activity

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

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

151d 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

[illuminate/pagination

The Illuminate Pagination package.

12234.6M1.1k](/packages/illuminate-pagination)[illuminate/pipeline

The Illuminate Pipeline package.

9350.2M311](/packages/illuminate-pipeline)[illuminate/redis

The Illuminate Redis package.

8314.8M410](/packages/illuminate-redis)[illuminate/cookie

The Illuminate Cookie package.

224.7M146](/packages/illuminate-cookie)[forjedio/inertia-table

Backend-driven dynamic tables for Laravel + Inertia.js

272.0k](/packages/forjedio-inertia-table)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

265.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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