Convert Figma logo to code with AI

weprovide logovalet-plus

Blazing fast macOS PHP development environment

1,560
211
1,560
9

Top Related Projects

2,499

A more enjoyable local development experience for Mac.

Quick Overview

Valet Plus is a development environment for PHP developers on macOS. It provides a simple, elegant, and powerful way to manage local web servers and databases, making it easier to develop and test web applications on a local machine.

Pros

  • Ease of Use: Valet Plus simplifies the process of setting up and managing local web servers, making it a breeze for developers to get started with local development.
  • Flexibility: Valet Plus supports a wide range of PHP frameworks and applications, including Laravel, Symfony, WordPress, and more.
  • Performance: Valet Plus is built on top of Nginx and utilizes the powerful caching capabilities of the Valet daemon, resulting in fast and efficient local development environments.
  • Customization: Valet Plus allows developers to customize their development environment by adding custom drivers, commands, and other extensions.

Cons

  • macOS-Specific: Valet Plus is designed specifically for macOS, which may limit its usefulness for developers working on other operating systems.
  • Limited Documentation: While the project has a decent amount of documentation, some users may find it lacking in certain areas, making it harder to troubleshoot issues or customize the environment.
  • Dependency on Homebrew: Valet Plus relies on Homebrew, which may be a concern for developers who prefer to manage their development tools and dependencies in a different way.
  • Potential Conflicts: Valet Plus may conflict with other local development tools or services, which could cause issues for some users.

Code Examples

N/A (Valet Plus is not a code library)

Getting Started

To get started with Valet Plus, follow these steps:

  1. Install Homebrew (if you haven't already):
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  1. Install Valet Plus using Homebrew:
brew tap weprovide/valet-plus
brew install valet-plus
  1. Initialize Valet Plus:
valet plus install
  1. Create a new project directory and link it to Valet Plus:
mkdir my-project
cd my-project
valet plus link
  1. Access your project at http://my-project.test.

That's it! You now have a fully-functional local development environment powered by Valet Plus. You can further customize your setup by adding drivers, commands, and other extensions as needed.

Competitor Comparisons

2,499

A more enjoyable local development experience for Mac.

Pros of Valet

  • Officially maintained by Laravel, ensuring compatibility and regular updates
  • Lightweight and fast, with minimal system resource usage
  • Seamless integration with Laravel ecosystem and tools

Cons of Valet

  • Limited to macOS, not available for other operating systems
  • Fewer built-in features compared to Valet Plus
  • Less flexibility for custom configurations and advanced setups

Code Comparison

Valet:

$app = new Application(
    realpath(__DIR__.'/../')
);

$app->singleton(
    Illuminate\Contracts\Console\Kernel::class,
    LaravelValetCommands::class
);

Valet Plus:

$app = new Application(
    realpath(__DIR__.'/../')
);

$app->singleton(
    Illuminate\Contracts\Console\Kernel::class,
    ValetPlusCommands::class
);

The code structure is similar, but Valet Plus likely includes additional commands and features in its ValetPlusCommands class.

Valet Plus offers more features and customization options, making it suitable for advanced users and complex development environments. However, Valet provides a streamlined, official solution that integrates seamlessly with the Laravel ecosystem and receives regular updates from the core team.

Convert Figma logo designs to code with AI

Visual Copilot

Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.

Try Visual Copilot

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

:warning: 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.

:warning: 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)
  • 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 (on/off mode)
  • 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 of valet.
  • Rename .env.valet to .valet-env.php.
  • Use command valet-plus elasticsearch|es use <version> instead of valet-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

slack

We have a slack workspace available which you can join.

Yes, we have a Valet+ fan page https://www.weprovide.com/valet-plus