<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Tim on Medium]]></title>
        <description><![CDATA[Stories by Tim on Medium]]></description>
        <link>https://medium.com/@timneutkens?source=rss-291aeebdd465------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*zMFNfGfzMdAQS2tV.jpg</url>
            <title>Stories by Tim on Medium</title>
            <link>https://medium.com/@timneutkens?source=rss-291aeebdd465------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 11:31:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@timneutkens/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Introducing Valet+, Blazing fast PHP development environment]]></title>
            <link>https://medium.com/@timneutkens/introducing-valet-blazing-fast-php-development-environment-46be91604bb2?source=rss-291aeebdd465------2</link>
            <guid isPermaLink="false">https://medium.com/p/46be91604bb2</guid>
            <category><![CDATA[magento]]></category>
            <category><![CDATA[magento-2]]></category>
            <category><![CDATA[php]]></category>
            <category><![CDATA[wordpress]]></category>
            <category><![CDATA[laravel]]></category>
            <dc:creator><![CDATA[Tim]]></dc:creator>
            <pubDate>Wed, 09 Aug 2017 18:32:15 GMT</pubDate>
            <atom:updated>2017-08-09T18:32:39.466Z</atom:updated>
            <content:encoded><![CDATA[<p>Three months ago, I started a side-project called Valet+, after a tremendous amount of feedback from both my colleagues and pre-release users I’m very excited to announce Valet+ 1.0</p><p>Valet+ is a blazing fast PHP development environment. It makes you forget all the hassle of setting up a webserver with vhosts, MySQL installation, and editing your /etc/hosts file. It runs solely on your Mac, so there is no Vagrant, Docker, NFS or file sync needed to run. In short, it lets you do what you’re great at: writing PHP.</p><p>In the background, Valet+ configures your Mac to always run Nginx and MySQL (or MariaDB) in the background when your machine starts. Then, using DnsMasq we send all requests to *.dev to sites on your local machine. So you’ll never have to edit your /etc/hosts file again.</p><p>Valet+ is an extended version of <a href="https://github.com/laravel/valet">Laravel Valet</a> with a <strong>lot</strong> of extra features.</p><h4>History</h4><p>I started working on Valet+ after we’d been using Docker for about a year at We Provide. We Provide is a digital agency focused on e-commerce; our main backend stack consists of Magento 2, Magento, Symfony, and Wordpress. Now if you’ve ever run a large project with Docker on a Mac you’ll know you have to implement at least NFS using <a href="https://github.com/codekitchen/dinghy">Dinghy</a> to speed things up; In our case this was okay, but not ideal. Combined with docker-compose there were some quirks, including not being able to run multiple projects at the same time, switching projects took time, unexpected inconsistencies in the filesystem, and a few other issues. It was also not very plug-and-play for new people that had never used docker before. With Valet+ I aimed to solve all of these problems and improve my own workflow in the process too.</p><h4>Installation</h4><p>I hear you asking: how can I start right away? Please check the installation instructions in the Readme: <a href="https://github.com/weprovide/valet-plus#installation">https://github.com/weprovide/valet-plus#installation</a>.</p><h3>Features</h3><h4>Folder to .dev domain</h4><p>After you run valet park in your projects directory. Any subdirectory will become a .dev domain. So if you have a directory named example it’ll be available under example.dev and www.example.dev.</p><h4>Performance</h4><p>By default we include opcache, an optimized php.ini, optimized nginx settings, and a MySQL config tailored for speed.</p><h4>PHP version switcher</h4><p>By default Valet supports PHP 5.6, 7.0, and 7.1, but it provides no easy way to switch them. To solve this I’ve introduced the valet use, similar to <a href="https://github.com/creationix/nvm">nvm</a>’s nvm use. For example to switch to PHP 5.6 use:</p><pre>valet use 5.6</pre><h4>Xdebug</h4><p>Enabling xdebug is as easy as running:</p><pre>valet xdebug on</pre><p>Then click the Xdebug button in your code editor. For example in PHPstorm you can click the telephone icon at the top right:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/396/1*VyZpfqQasiDd8P4YxRFDpg.png" /><figcaption>Enable Xdebug in PHPstorm</figcaption></figure><h4>Database</h4><p>Valet+ automatically installs MySQL 5.7 with 5.6 compatibility mode included. It includes a tweaked my.cnf which is aimed at improving speed. This is especially noticeable when running large projects like Magento(2)</p><p>A set of helpful commands to work faster with MySQL are included by default. I highly recommend you check them out in the <a href="https://github.com/weprovide/valet-plus#database">documentation</a>.</p><h4>Mailhog</h4><p>Mailhog automatically catches all emails send from your application and shows them in a special overview at <a href="http://mailhog.dev/">http://mailhog.dev</a>. So you can safely send emails locally, knowing that they are always caught by Mailhog.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h6xzp46jsn8dfNXokntPCQ.png" /><figcaption>The Mailhog dashboard</figcaption></figure><h4>Framework specific development tools</h4><p>Valet+ will automatically install framework specific development tools:</p><ul><li><a href="http://wp-cli.org/">wp-cli</a> available as wp</li><li><a href="https://github.com/netz98/n98-magerun">n98-magerun</a> available as magerun</li><li><a href="https://github.com/netz98/n98-magerun2">n98-magerun2</a> available as magerun2</li></ul><h4>Securing Sites With TLS</h4><p>By default, Valet serves sites over plain HTTP. However, if you would like to serve a site over encrypted TLS using HTTP/2, you can use the secure command. For example, if your site is being served by Valet+ on the example.dev domain, you can run the following command to secure it:</p><pre>valet secure example</pre><h4>Valet drivers</h4><p>Valet uses drivers to handle requests. You can read more about those <a href="https://github.com/weprovide/valet-plus#valet-drivers">here</a>. Valet+ includes a custom Magento2 driver with support for static signing and /static.php (development symlink).</p><p>Currently supported frameworks are:</p><ul><li>Static HTML</li><li>Magento</li><li>Magento 2</li><li>Symfony</li><li>Wordpress / Bedrock</li><li>Laravel</li><li>Lumen</li><li>CakePHP 3</li><li>Craft</li><li>Drupal</li><li>Jigsaw</li><li>Slim</li><li>Statamic</li><li>Zend Framework</li></ul><h3>Final word</h3><p>Valet+ brings a lot of opportunities to automate away common tasks we do every day. That’s why I started working on a valet configure command that automatically does some common tasks like settings the base url in Magento/Magento2 or creating the env.php . I’d love to see community support for other environment files in frameworks like Laravel, Symfony, etc. If you have any questions / ideas / feedback feel free to comment or open an issue at <a href="https://github.com/weprovide/valet-plus/issues">https://github.com/weprovide/valet-plus/issues</a>.</p><h4>Credits and thank you</h4><p>Thanks to the Laravel team (<a href="https://github.com/laravel/valet">https://github.com/laravel/valet</a>) for the initial Valet implementation I forked.</p><p>Thanks to my colleagues at <a href="https://www.weprovide.com/">We Provide</a> for showing their needs in a development environment and providing constant feedback.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=46be91604bb2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>