weprovide / valet-plus
Blazing fast macOS PHP development environment
Installs: 35 727
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1 561
Watchers: 48
Forks: 211
Open Issues: 7
Requires
- php: ^7.1|^8.0
- laravel/valet: ^4.5
Requires (Dev)
- phpro/grumphp-shim: ^2.4
- squizlabs/php_codesniffer: ^3.8
- 3.x-dev
- 3.0.4
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- 2.x-dev
- 2.4.2
- 2.4.1
- 2.4.0
- 2.4.0-beta6
- 2.4.0-beta5
- 2.4.0-beta4
- 2.4.0-beta3
- 2.4.0-beta2
- 2.4.0-beta1
- 2.3.1
- 2.3.0
- 2.2.1
- 2.2.0
- 2.1.0
- 2.0.0
- 1.x-dev
- 1.0.29
- 1.0.28
- 1.0.27
- 1.0.26
- 1.0.25
- 1.0.24
- 1.0.23
- 1.0.22
- 1.0.21
- 1.0.20
- 1.0.19
- 1.0.18
- 1.0.17
- 1.0.16
- 1.0.15
- 1.0.14
- 1.0.13
- 1.0.12
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 0.5.8
- 0.5.7
- 0.5.6
- 0.5.5
- 0.5.4
- 0.5.3
- 0.5.2
- 0.5.1
- 0.5.0
- 0.4.4
- 0.4.3
- 0.4.2
- 0.4.1
- 0.4.0
- 0.3.9
- 0.3.8
- 0.3.7
- 0.3.6
- 0.3.5
- 0.3.4
- 0.3.3
- 0.3.2
- 0.3.1
- 0.3.0
- 0.2.3
- 0.2.2
- 0.2.1
- 0.2.0
- 0.1.10
- 0.1.9
- 0.1.8
- 0.1.7
- 0.1.6
- 0.1.5
- 0.1.4
- 0.1.3
- 0.1.2
- 0.1.1
- 0.1.0
- dev-master
- dev-feature/service-nginx-rewrite
This package is auto-updated.
Last update: 2024-10-24 07:56:34 UTC
README
Introduction
Valet+ is a development environment for macOS. No Vagrant, no Docker, no /etc/hosts
file. This project uses
laravel/valet as a dependency.
Installation
⚠️ Valet+ requires macOS and Homebrew. Before installation, you should make sure that no other programs such as Apache or Nginx are binding to your local machine's port 80.
⚠️ Valet+ requires Composer to be installed.
To get started, you first need to ensure that Homebrew is up-to-date using the update command:
brew update
Next, you should use Homebrew to install PHP 8.1 (using shivammathur/php
):
brew tap shivammathur/php brew install shivammathur/php/php@8.1 brew link php@8.1 --force brew services restart php@8.1
Install Valet+ 3.x-dev with composer:
composer global require weprovide/valet-plus:3.x-dev
Finally, you may execute the Valet+ install
command. This will configure and install Valet+, Nginx, DnsMasq and other
services. In addition, use --help
to see all installation options.
valet-plus install
The daemons Valet+ depends on will be configured to launch when your system starts. Once Valet+ is installed, try pinging
any *.test
domain on your terminal using a command such as ping foobar.test
. If Valet+ is installed correctly you
should see this domain responding on 127.0.0.1
.
Valet+ features
Here are a few key differences compared to the original Valet:
- Nginx config optimization
- PHP extensions (
mcrypt,intl,opcache, yaml, apcu, ds, imagick) - MySQL (mysql@5.7, mysql@8.0, mysql@8.1, mariadb)
- DB commands (list, create, drop, reset, (re)import, export,
open)
- DB commands (list, create, drop, reset, (re)import, export,
- Mailhog (on/off mode)
- Varnish (on/off mode)
- Redis (on/off mode)
- Rabbitmq (on/off mode)
- Xdebug (on/off mode)
- Memcache (on/off mode)
- Elasticsearch v6, v7, v8 (on/off mode) using Docker
- Opensearch v2 (on/off mode) using Docker
Ioncube- Rewrite/unrewrite public domain to local environment
DevTools- Binaries (magerun, magerun2, drush, wp-cli, shopware-cli)
Changes vs Valet+ 2
- Use command
valet-plus
instead ofvalet
. - Rename
.env.valet
to.valet-env.php
. - Use command
valet-plus elasticsearch|es use <version>
instead ofvalet-plus use elasticsearch|es <version>
. - Use
127.0.0.1
as Redis host instead of/tmp/redis.sock
. - Choose which binaries to install (default all) and self-update on
valet-plus install
command. - Adds dependency on Docker for Elasticsearch, see https://docs.docker.com/desktop/install/mac-install/
Get in touch
We have a slack workspace available which you can join.
Yes, we have a Valet+ fan page https://www.weprovide.com/valet-plus