Valet 4.0 is released
Valet is one of my favourite pieces of technology: I don't notice that I'm using it, still I use it every single day.
Read more [laravel-news.com]
Posts tagged with valet
Valet is one of my favourite pieces of technology: I don't notice that I'm using it, still I use it every single day.
Read more [laravel-news.com]
Now that PHP 8.2 has been released, it's time to upgrade the PHP of your Mac.
If you're using Brew - which you probably are - there are only a few steps involved.
Join 9,500+ smart developers
Every month I share what I learn from running Spatie, building Oh Dear, and maintaining 300+ open source packages. Practical takes on Laravel, PHP, and AI that you can actually use.
No spam. Unsubscribe anytime. You can also follow me on X.
Yesterday, the Laravel team launched the official vite-plugin. From now on, Vite will be the standard build tool for Laravel. The main benefits are vastly improved build times and a more straightforward API. Want to know more about it? Head over to the official docs. There's also a migration guide to go from Mix to Vite.
When I followed that guide to upgrade the freek.dev codebase from Mix to Vite , npm dev could successfully start-up Vite, but in the browser the JS / CSS did not load. Let's review how I could fix that.
– ralphjsmit.com - submitted by Ralph J. Smit
Use the Stripe CLI with Laravel Valet to listen to webhooks locally.
Read more [ralphjsmit.com]
The Laravel team released the next major version of Laravel Valet (3.0), which introduces running multiple versions of PHP in Valet applications side-by-side.
Read more [laravel-news.com]
– ryangjchandler.co.uk - submitted by Ryan Chandler
Testing emails can be a pain. Luckily, there are plenty of tools out there that can make the process a lot easier. Let me show you how to setup MailHog, a local development tool for testing emails.
Read more [ryangjchandler.co.uk]
As usual, my colleague Brent wrote a post with clear instructions on how to upgrade. As a bonus he also provides some necessary steps to get PHP 7.4 to work in Valet.
Read more [stitcher.io]
If you're using #Laravel Valet in Europe:
— Sander van Hooft (@SandervHooft) August 19, 2019
Just discovered "valet share --region=eu".
Ngrok seems to default to the US region otherwise. Major speed improvement.
Read more [twitter.com]
I just found out that a recent version of #Laravel Valet introduced a "valet use php@version" command. Make sure you upgrade Valet to get this functionality. ? pic.twitter.com/JW99xfJNNb
— Kevin McKee (@iAmKevinMcKee) August 12, 2019
Read more [twitter.com]
Besides enjoying some greenfield work, we often have to work on legacy projects at Spatie too. Sometimes those projects don't run on the latest PHP version. I this blogpost I'd like to show you a way to switch PHP version easily when using Laravel Valet. (I know you could also use Docker or…
Michael Dyrynda, one of the two new hosts of the Laravel Podcast, share a nice tip on how to quickly switch PHP versions when using Laravel Valet.
At the time of writing, Laravel Valet ships with PHP 7.1 but if you're like me, you have some legacy projects around the place that haven't quite lifted their dependencies to PHP 7 just yet.A lot of folks might have previously used a VirtualBox Virtual Machine, or more recently considered Docker but a lot of the time and especially when dealing with simpler situations, Valet may be all that you need.
https://dyrynda.com.au/blog/switching-php-versions-with-laravel-valet
On most of my day to day work I use Laravel Valet to develop locally. When hitting a bug often I just put a dd() statement in the code to quickly inspect what's going on. But when encountering a complex bug this becomes tedious. Wouldn't it be nice if we could add a breakpoint to our code and be…
Laravel News published a nice overview of what happened in the Laravel ecosystem in 2016.
As 2016 is coming to a close it’s a great time to look back on the year and see just how much progress has been made. Laravel had a busy year with 5.3 being released, Laracon, updates to all the components, and now gearing up for the Laravel 5.4 release.To look back on the year I’ve put together a list of some of the hits of 2016 and arranged them by month so you can get a quick overview of all the highlights.
https://laravel-news.com/80-laravel-tutorials-packages-and-resources
The Laravel ecosystem sure is moving fast. For me the best new software that emerged from it was Laravel Valet. I use it for most projects now and can't imagine working on a Vagrant box anymore for my normal day to day work. Hopefully Valet will gain more recognition in the greater PHP community in 2017.
I'm also happy to report that the Laravel / PHP packages my company releases have grown in popularity in 2016.
Total # of downloads of @spatie_be packages according to Packagist
— Freek Van der Herten (@freekmurze) 16 december 2016
In 2014: 0 (we had no packages)
In 2015: ±150 000
In 2016: 1 500 000
? pic.twitter.com/cZJU9NPBsS
I'm one of those people who runs beta software. A short time after the keynote is finished I'll update (or wreck) my phone with the beta version of iOS. My Mac generally gets the beta treatment not much later. Of course there are some risks involved. There's no guarantee that your applications will still work. Though your mileage may vary, it's my experience however that those betas are pretty stable.
With macOS Sierra there was one piece of software that didn't work properly: Laravel Valet. For some obscure reason Valet just stopped working after a couple minutes. The requests just hang. After some time an ERR_CONNECTION_REFUSED was displayed in Chrome. After running valet restart it ran fine for some more minutes. After poking around in the configuration of caddy, the webserver that powers Valet, and the php.ini file I found no solution. A complete reinstall of Laravel Valet did not solve the issue. I learned to live with the problem, regularly running valet restart. I even set up an alias for it.
But luckily Bryce Adams found the solution (Martin Bastien notified me about it). It's very simple: you just have to update the caddy server to the latest version manually. Here are the steps involved:
I hope this post can help all the crazy ones running beta software.
EDIT on 2016-09-21: alternatively, you could use the dev-sierra branch to get a working version of Valet on macOS Sierra.
@freekmurze Can also use the `dev-sierra` branch which has Caddy 0.9.1 baked in ??
— Adam Wathan (@adamwathan) September 21, 2016
EDIT on 2016-09-24: Adam has published a list of common problems and solutions for running Valet on Sierra.
Mohamed Said peeked behind the curtains and explains on his blog how Laravel Valet works behind the scenes.
The idea behind Valet is that it configures PHP's built-in web server to always run in the background when the operating system starts, then it proxies all requests to a given domain to point to your localhost 127.0.0.1http://themsaid.github.io/magic-behind-laravel-valet-20160506/
If you want to keep Homestead around for some projects, know that your can also use dnsmasq to point an entire domain to your Homestead installation.
Chances are that if you've been following the news in the Laravel ecosystem that you've heard of Laravel Valent. If not: Laravel Valet is a super easy way to serve your sites in a development environment. It's dead simple to setup and use. Here's the intro video:
https://www.youtube.com/watch?v=H3Z4Gk9Wc0s
I think it's kinda amazing that it was built in just four days. Not everybody is a fan of the Valet approach be I sure do like it. At Spatie, we're going use Valet instead of Vagrant for most of our projects.
Need to know more about Valet? Check out this post on dotdev.co and the official documentation.