Homebrew

Workaround way to display nginx configuration error details in macOS

The Homebrew service control in macOS does not display if there is/are error(s) in your nginx configuration. For example if you mistakenly duplicate the declaration of "client_max_body_size" directive Homebrew service control won't give any error details or even tell you that there is error in your nginx configuration when you restarted the nginx service:

Setup phpMyAdmin with Laravel Valet

This article will show step by step on how to setup phpMyAdmin with Laravel Valet:

  1. Install Homebrew. Execute the following shell command in your terminal:

          
    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
          
        

    If you have Homebrew already installed, update it:

          
    brew update
          
        
  2. Install composer. Execute the following shell commands in your terminal:

Using Laravel Valet with Drupal multiple sites

Setup of development environment for Mac is made easy with Laravel Valet. Comparing it with XAMPP setup, we don't need to edit hosts file and httpd.conf/httpd-vhosts.conf Apache configuration files to add a local development domain. Even Drupal multiple sites setup (sharing the same code base) is possible in Laravel Valet. In this article will discuss the Drupal multiple sites setup step by step guide and we will use local development domain http://webfoobar.test as Drupal site #1 and http://drupal.test as Drupal site #2.

Steps: