Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
123 commits
Select commit Hold shift + click to select a range
6441882
fix secure.valet.conf format for nginx >= 1.25.1
OpJePl44tsm4n Oct 6, 2023
80d8890
added http2 directive
OpJePl44tsm4n Oct 6, 2023
984d7f3
fix http2
OpJePl44tsm4n Oct 6, 2023
c66dfee
add legacy files
OpJePl44tsm4n Oct 9, 2023
bd3fe5b
load legacy config if nginx > 1.25.1
OpJePl44tsm4n Oct 9, 2023
6b07e42
Bandage for 502 errors using Gettext/PostgreSQL/MongoDB
drbyte Oct 9, 2023
b2ce8ad
use str_replace
OpJePl44tsm4n Oct 10, 2023
2db0770
Update Site.php
OpJePl44tsm4n Oct 13, 2023
e829a1c
give https tunnel support for valet fetch-share-url
rana01645 Dec 5, 2023
ec7046f
test case updated
rana01645 Dec 5, 2023
cd099f6
if http and https both exist, priotize http
rana01645 Dec 5, 2023
eec8d5f
added the ability to renew certs and view their expiration dates
adrum Dec 20, 2023
86c40dd
restored original secured command
adrum Dec 20, 2023
7dfc739
update secured command test
adrum Dec 20, 2023
dc24a8d
remove unnessary unsecure
adrum Dec 20, 2023
dce796a
added renew test
adrum Dec 20, 2023
cd198cb
moved renew command to site
adrum Dec 20, 2023
a3a483e
remove date logic on renewal
adrum Dec 20, 2023
39ee79d
added renew to to install command
adrum Dec 20, 2023
42f4f39
update tests to match renew command
adrum Dec 20, 2023
4e672ba
Merge pull request #1452 from drbyte/502-segfault-krb5-bandage
mattstauffer Dec 21, 2023
e75f238
Fix code styling
mattstauffer Dec 21, 2023
47847d5
Merge pull request #1451 from OpJePl44tsm4n/master
mattstauffer Dec 21, 2023
3f2b629
Fix code styling
mattstauffer Dec 21, 2023
9c922e5
Merge pull request #1460 from rana01645/master
mattstauffer Dec 21, 2023
34b4f03
Fix code styling
mattstauffer Dec 21, 2023
b1b84fe
Minor formatting tweaks to #1460
mattstauffer Dec 21, 2023
81a2b3b
Merge pull request #1461 from adrum/feature/renew-certs
mattstauffer Dec 21, 2023
9d3d2ee
Fix code styling
mattstauffer Dec 21, 2023
3ecfb36
Merge branch 'master' of github.com:laravel/valet
mattstauffer Dec 21, 2023
59b19a2
Clean up syntax from #1461
mattstauffer Dec 21, 2023
c79bc98
only trust the CA, not the individual cert
adrum Dec 22, 2023
c0a2c7e
Merge branch 'master' into feature/trust-ca-cert
adrum Dec 22, 2023
b076ad6
Update app.php
driesvints Dec 27, 2023
02d6075
Update CHANGELOG
driesvints Dec 27, 2023
e3e5bea
Allow renew() to be called without parameters (#1465)
drbyte Jan 1, 2024
9f03cdc
version
driesvints Jan 1, 2024
a6e3bb6
Update CHANGELOG
driesvints Jan 1, 2024
ca288d4
Add a new share tool, cloudflared
skauk Jan 7, 2024
4c5fd95
A bit of refactoring
skauk Jan 8, 2024
3760cfc
Update RELEASE.md
driesvints Jan 18, 2024
013eb14
Fix code styling
driesvints Jan 18, 2024
a570775
Update Brew formula
Jan 22, 2024
ca1518a
Merge branch 'master' into cloudflared
Jan 24, 2024
6559c55
Update coding-standards.yml
driesvints Jan 25, 2024
d91e62d
Update 1_Bug_report.yml
driesvints Jan 29, 2024
48acec6
allow specifying php version to restart
N-Silbernagel Feb 9, 2024
40c6b28
Update KirbyValetDriver.php
Werbschaft Feb 19, 2024
b637376
Add values() call to reset keys after modifying paths
adriaanzon Mar 22, 2024
3361355
Add quotes around $PHP (#1473)
drbyte May 7, 2024
a21d0bf
Support Illuminate:11 and Symfony:7 (#1481)
drbyte May 7, 2024
0f3ab1f
Ignore invalid paths (#1478)
ahmedash95 May 7, 2024
64c9bd6
version
driesvints May 7, 2024
3bf6955
Update CHANGELOG
driesvints May 7, 2024
b2cddba
add server name to valet.conf (#1458)
Oleg339 May 10, 2024
5699f34
fix: Warning: Constant VALET_* already defined in X
NickSdot May 12, 2024
8cf9bd2
Adding support for Nette Framework.
antonL95 May 14, 2024
53a3c8a
version
driesvints May 21, 2024
b62bc68
Update CHANGELOG
driesvints May 21, 2024
2da59f9
Merge pull request #1463 from adrum/feature/trust-ca-cert
mattstauffer May 31, 2024
6118bc2
Fix code styling
mattstauffer May 31, 2024
2399ca9
Merge branch 'specify-restart-version' of https://github.com/N-Silber…
mattstauffer May 31, 2024
cba22f3
Refactor code for restarting specific PHP version
mattstauffer May 31, 2024
d3a6e9f
Fix code styling
mattstauffer May 31, 2024
3003ccb
Merge pull request #1471 from Werbschaft/patch-1
mattstauffer May 31, 2024
cb1cc54
Fix code styling
mattstauffer May 31, 2024
964ec7a
Merge pull request #1485 from NickSdot/patch-1
mattstauffer May 31, 2024
4a43ab0
Updated serves method to better determine that it's actually nette pr…
antonL95 Jun 1, 2024
0844c56
Merge pull request #1477 from adriaanzon/fix-path-keys
mattstauffer Jun 2, 2024
78657cd
Merge pull request #1486 from antonL95/feat_add_nette_framework_driver
mattstauffer Jun 3, 2024
42ba0b2
version
driesvints Jun 18, 2024
2c3e2f3
Fix code styling
driesvints Jun 18, 2024
35b32b6
Update CHANGELOG
driesvints Jun 18, 2024
72845a3
throw exception if trust CA is canceled
adrum Jun 21, 2024
a39a7b0
prevent the old cert from being removed if the trust ca command is ca…
adrum Jun 21, 2024
e7c0dba
update phrasing
adrum Jun 21, 2024
5d4821b
Merge pull request #1488 from adrum/fix/trust-ca
mattstauffer Jun 24, 2024
467087c
version
driesvints Jun 25, 2024
e67f5b0
Update CHANGELOG
driesvints Jun 25, 2024
dce6b3c
Merge branch 'master' into cloudflared
Jul 30, 2024
5b28d4b
Replace dead link in Security Policy (#1491)
Jubeki Aug 2, 2024
fc1b23b
Fix code styling
driesvints Aug 2, 2024
81efb8e
Merge branch 'cloudflared' of https://github.com/rcknr/valet into rck…
mattstauffer Aug 24, 2024
628997d
Extract Cloudflared tunnels method
mattstauffer Aug 25, 2024
374eaa0
Make domain required in currentTunnelUrl
mattstauffer Aug 25, 2024
3e2789c
Fix failing extraction of secured domain check
mattstauffer Aug 25, 2024
ea57d98
Refactor heavily nested cloudflared currentTunnelUrl
mattstauffer Aug 25, 2024
3f30051
Merge branch 'rcknr-cloudflared'
mattstauffer Aug 25, 2024
13da2f7
Fix code styling
mattstauffer Aug 25, 2024
ed36ab2
version
driesvints Sep 3, 2024
5da6033
Update CHANGELOG
driesvints Sep 3, 2024
cd3fbb0
Fix extra parameters for share tool, #1494
skauk Sep 16, 2024
e3816cb
Update logo.svg
milewski Sep 26, 2024
78d0a40
Update README.md
milewski Sep 26, 2024
072859e
add the ability to renew the CA when renewing all certs
adrum Nov 15, 2024
3c0015c
add the ability to see the Certificate Authority expiration date
adrum Nov 15, 2024
7efa837
Add support for PHP 8.4
SupianIDz Nov 17, 2024
a3bb72c
Fix broken badge
SupianIDz Nov 17, 2024
07432a9
Merge pull request #1499 from SupianIDz/master
mattstauffer Nov 25, 2024
76ece53
Fix code styling
mattstauffer Nov 25, 2024
5a55c4a
Merge pull request #1495 from rcknr/cloudflared
mattstauffer Nov 25, 2024
c8970c1
Merge pull request #1497 from milewski/patch-1
mattstauffer Nov 25, 2024
2b9f494
Fixes bad regex for loopback replacement
Nov 26, 2024
5878118
Update CHANGELOG
taylorotwell Nov 26, 2024
1a0077a
Update version number for 4.8.2 release
mattstauffer Dec 9, 2024
440bb12
Merge pull request #1498 from adrum/feature/renew-ca
mattstauffer Dec 10, 2024
ff4b767
Merge pull request #1504 from mitchkramez/bugfix-loopback-regex-fix
mattstauffer Dec 10, 2024
ff82b3e
Change latest php version to 8.4
mischabraam Dec 11, 2024
85a8c89
fix(entry-script): use correct php binary for proxy commands
saibotk Dec 18, 2024
bcf78f5
Merge pull request #1507 from mischabraam/patch-1
mattstauffer Dec 20, 2024
e2d6191
Merge pull request #1510 from saibotk/fix-php-proxy
mattstauffer Dec 20, 2024
6d8df38
Update CHANGELOG
taylorotwell Dec 20, 2024
d30b38c
Supports Laravel 12
crynobone Jan 28, 2025
7feb176
chore: Update `coding-standards.yml`
crynobone Feb 12, 2025
06d0070
chore: Update `update-changelog.yml`
crynobone Feb 12, 2025
c4c650d
Fix code styling
crynobone Feb 12, 2025
b71f1f0
Merge pull request #1511 from laravel/l12
mattstauffer Feb 28, 2025
b622f1d
Add PHPUnit 12 support, and upgrade phpunit-polyfills
drbyte Feb 28, 2025
80f9dce
Remove --verbose flag for PHPUnit 10+ compatibility
drbyte Feb 28, 2025
c350b59
Update CHANGELOG
taylorotwell Feb 28, 2025
134957c
Merge pull request #1513 from drbyte/phpunit12
mattstauffer Mar 3, 2025
e436e17
Update app.php
taylorotwell Mar 4, 2025
c3e50f6
Merge tag 'v4.8.4' into issue/NO-ISSUE_Upgrade-valet-codebase-upstrea…
Mar 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/1_Bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Bug Report
description: "Report a general library issue."
description: "Report something that's broken."
body:
- type: markdown
attributes:
Expand Down
2 changes: 1 addition & 1 deletion .github/SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ If you discover a security vulnerability within Laravel, please send an email to
```
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: OpenPGP v2.0.8
Comment: https://sela.io/pgp/
Comment: Report Security Vulnerabilities to taylor@laravel.com

xsFNBFugFSQBEACxEKhIY9IoJzcouVTIYKJfWFGvwFgbRjQWBiH3QdHId5vCrbWo
s2l+4Rv03gMG+yHLJ3rWElnNdRaNdQv59+lShrZF7Bvu7Zvc0mMNmFOM/mQ/K2Lt
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: fix code styling

on: [push]
on:
push:
branches:
- master
- '*.x'

permissions:
contents: write

jobs:
lint:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: true
matrix:
php: ['8.0', 8.1, 8.2, 8.3]
php: ['8.0', 8.1, 8.2, 8.3, 8.4]

name: PHP ${{ matrix.php }}

Expand All @@ -37,6 +37,6 @@ jobs:
run: composer install --no-interaction --prefer-dist

- name: Execute tests
run: vendor/bin/phpunit --verbose
run: vendor/bin/phpunit
env:
APP_ENV: testing
4 changes: 4 additions & 0 deletions .github/workflows/update-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
release:
types: [released]

permissions: {}

jobs:
update:
permissions:
contents: write
uses: laravel/.github/.github/workflows/update-changelog.yml@main
57 changes: 56 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,61 @@
# Release Notes

## [Unreleased](https://github.com/laravel/valet/compare/v4.5.0...master)
## [Unreleased](https://github.com/laravel/valet/compare/v4.8.3...master)

## [v4.8.3](https://github.com/laravel/valet/compare/v4.8.2...v4.8.3) - 2025-02-28

* Supports Laravel 12 by [@crynobone](https://github.com/crynobone) in https://github.com/laravel/valet/pull/1511

## [v4.8.2](https://github.com/laravel/valet/compare/v4.8.1...v4.8.2) - 2024-12-20

* Add the ability to renew the Certificate Authority certificate by [@adrum](https://github.com/adrum) in https://github.com/laravel/valet/pull/1498
* Fixes bad regex for loopback replacement for Issue #1503 by [@mitchkramez](https://github.com/mitchkramez) in https://github.com/laravel/valet/pull/1504
* Change latest php version to 8.4 by [@mischabraam](https://github.com/mischabraam) in https://github.com/laravel/valet/pull/1507
* fix(entry-script): use correct php binary for proxy commands by [@saibotk](https://github.com/saibotk) in https://github.com/laravel/valet/pull/1510

## [v4.8.1](https://github.com/laravel/valet/compare/v4.8.0...v4.8.1) - 2024-11-25

* Add support for PHP 8.4 by [@SupianIDz](https://github.com/SupianIDz) in https://github.com/laravel/valet/pull/1499
* Fix extra parameters for share tool, fixes #1494 by [@rcknr](https://github.com/rcknr) in https://github.com/laravel/valet/pull/1495
* Update logo to support dark/light theme by [@milewski](https://github.com/milewski) in https://github.com/laravel/valet/pull/1497

## [v4.8.0](https://github.com/laravel/valet/compare/v4.7.1...v4.8.0) - 2024-09-03

* Add a new share tool, cloudflared by [@rcknr](https://github.com/rcknr) in https://github.com/laravel/valet/pull/1467

## [v4.7.1](https://github.com/laravel/valet/compare/v4.7.0...v4.7.1) - 2024-06-25

* Require Trusting CA when securing sites by [@adrum](https://github.com/adrum) in https://github.com/laravel/valet/pull/1488

## [v4.7.0](https://github.com/laravel/valet/compare/v4.6.3...v4.7.0) - 2024-06-18

* Trust CA Certificate only by [@adrum](https://github.com/adrum) in https://github.com/laravel/valet/pull/1463
* Allow specifying php version to restart by [@N-Silbernagel](https://github.com/N-Silbernagel) in https://github.com/laravel/valet/pull/1469
* Update KirbyValetDriver.php by [@Werbschaft](https://github.com/Werbschaft) in https://github.com/laravel/valet/pull/1471
* fix: Warning: Constant VALET_* already defined in X by [@NickSdot](https://github.com/NickSdot) in https://github.com/laravel/valet/pull/1485
* Add values() call to reset keys after modifying paths by [@adriaanzon](https://github.com/adriaanzon) in https://github.com/laravel/valet/pull/1477
* Adding support for Nette Framework. by [@antonL95](https://github.com/antonL95) in https://github.com/laravel/valet/pull/1486

## [v4.6.3](https://github.com/laravel/valet/compare/v4.6.2...v4.6.3) - 2024-05-21

* add server name to valet.conf by [@Oleg339](https://github.com/Oleg339) in https://github.com/laravel/valet/pull/1458

## [v4.6.2](https://github.com/laravel/valet/compare/v4.6.1...v4.6.2) - 2024-05-07

* Add quotes around $PHP by [@drbyte](https://github.com/drbyte) in https://github.com/laravel/valet/pull/1473
* Support Illuminate:11 and Symfony:7 by [@drbyte](https://github.com/drbyte) in https://github.com/laravel/valet/pull/1481
* Ignore invalid paths by [@ahmedash95](https://github.com/ahmedash95) in https://github.com/laravel/valet/pull/1478

## [v4.6.1](https://github.com/laravel/valet/compare/v4.6.0...v4.6.1) - 2024-01-01

* Allow renew() to be called without parameters by [@drbyte](https://github.com/drbyte) in https://github.com/laravel/valet/pull/1465

## [v4.6.0](https://github.com/laravel/valet/compare/v4.5.0...v4.6.0) - 2023-12-27

* Bandage for 502 errors using Gettext/PostgreSQL/MongoDB by [@drbyte](https://github.com/drbyte) in https://github.com/laravel/valet/pull/1452
* handle deprecated http2_push_preload conf for nginx >= 1.25.1 by [@OpJePl44tsm4n](https://github.com/OpJePl44tsm4n) in https://github.com/laravel/valet/pull/1451
* Update "fetch-share-url" to pull correct URL for HTTPS tunnels, not just HTTP by [@rana01645](https://github.com/rana01645) in https://github.com/laravel/valet/pull/1460
* added the ability to renew certs and view their expiration dates by [@adrum](https://github.com/adrum) in https://github.com/laravel/valet/pull/1461

## [v4.5.0](https://github.com/laravel/valet/compare/v4.4.1...v4.5.0) - 2023-10-10

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<p align="center"><img src="/art/logo.svg"></p>
<p align="center"><img width="304" height="52" src="/art/logo.svg"></p>

<p align="center">
<a href="https://github.com/laravel/valet/actions?query=workflow%3ATests"><img src="https://github.com/laravel/valet/workflows/Tests/badge.svg?branch=master" alt="Build Status"></a>
<a href="https://github.com/laravel/valet/actions?query=workflow%3ATests"><img src="https://github.com/laravel/valet/actions/workflows/tests.yml/badge.svg?branch=master" alt="Build Status"></a>
<a href="https://packagist.org/packages/laravel/valet"><img src="https://poser.pugx.org/laravel/valet/d/total.svg" alt="Total Downloads"></a>
<a href="https://packagist.org/packages/laravel/valet"><img src="https://poser.pugx.org/laravel/valet/v/stable.svg" alt="Latest Stable Version"></a>
<a href="https://packagist.org/packages/laravel/valet"><img src="https://poser.pugx.org/laravel/valet/license.svg" alt="License"></a>
Expand Down
2 changes: 1 addition & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Release Instructions

1. Update the `$version` variable in [`app.php`](./cli/app.php) and commit it
2. Create a new GitHub release for this version with the release notes
2. [Create a new GitHub release](https://github.com/laravel/valet/releases/new) for this version with the release notes
15 changes: 14 additions & 1 deletion art/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 3 additions & 4 deletions cli/Valet/Brew.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class Brew
// This is the array of PHP versions that Valet will attempt to install/configure when requested
const SUPPORTED_PHP_VERSIONS = [
'php',
'php@8.4',
'php@8.3',
'php@8.2',
'php@8.1',
Expand All @@ -23,7 +24,7 @@ class Brew

// Update this LATEST and the following LIMITED array when PHP versions are released or retired
// We specify a numbered version here even though Homebrew links its generic 'php' alias to it
const LATEST_PHP_VERSION = 'php@8.2';
const LATEST_PHP_VERSION = 'php@8.4';

// These are the PHP versions that should be installed via the shivammathur/php tap because
// Homebrew officially no longer bottles them or they're marked disabled in their formula
Expand All @@ -38,9 +39,7 @@ class Brew

const BREW_DISABLE_AUTO_CLEANUP = 'HOMEBREW_NO_INSTALL_CLEANUP=1';

public function __construct(public CommandLine $cli, public Filesystem $files)
{
}
public function __construct(public CommandLine $cli, public Filesystem $files) {}

/**
* Ensure the formula exists in the current Homebrew configuration.
Expand Down
Loading