How the Pest PhpStorm Plugin Will Improve Your Testing Workflow
– blog.jetbrains.com - submitted by Nuno Maduro
Users of Pest will be happy to know there's now a nice plugin to improves integration in PhpStorm.
Read more [blog.jetbrains.com]
Posts tagged with php
– blog.jetbrains.com - submitted by Nuno Maduro
Users of Pest will be happy to know there's now a nice plugin to improves integration in PhpStorm.
Read more [blog.jetbrains.com]
Here's the recording of Laravel Worldwide Meetup #4. Ryan Chandler showed a cool GitHub Action workflow to test a Laravel app. Next, Liam Hammet demonstrated some unconvential things you can do with PHP autoloaders.
Join 9,500+ smart developers
Get my monthly newsletter with 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.
"Freek publishes a super resourceful and practical newsletter. A must for anyone in the Laravel space"
In preparation for creating the Front Line PHP video course I needed to make myself familiar with the features that PHP 8 brings to the table. In this stream you can see me trying out some of these features for the first time.
After sending a new edition of my newsletter, I usually tweet out a webview URL together with a URL where people can subscribe to the newsletter. A webview is a hard to guess URL that people who didn't subscribe can visit to read the content of the newsletter.
Here are the most important changes and upgrade instructions.
Read more [blog.packagist.com]
Jess has created a cool laravel-castable-data-transfer-object package. In this blog post she explains in great details how it works.
Read more [jessarcher.com]
– ryangjchandler.co.uk - submitted by Ryan Chandler
Sometimes your controllers can get rather large, especially if you have lots of conditions and data formatting. Have you ever considered moving some of that complexity out into a dedicated response class?
Read more [ryangjchandler.co.uk]
Here's a good rundown of things you can configure using the .gitattributes file.
Read more [php.watch]
– bannister.me - submitted by James Bannister
The article dives into a couple of methods for customising the email verification expiration time for verification email sent by Laravel for new users. In one case we use the config setting, in the other we override the verificationUrl method to customise how this is generated.
Read more [bannister.me]
Pascal Baljet shares a nice way to handle Base64 encoded files in Laravel
Read more [protone.media]
– atymic.dev - submitted by atymic
Overview of the new upsert feature in Laravel 8.10, how to use it and some tips.
Read more [atymic.dev]
Larry Garlfriend explains how you can use PHP 8's weak maps to implement a self cleaning cache. Pretty sweet!
Read more [platform.sh]
In this blogpost, Tim MacDonald warns that PHP doesn't give you any warning when using ::class on a class that does not exist.
Read more [timacdonald.me]
Our company has created a lot of open-source packages. At the moment of writing, we have over 200 packages, which have been downloaded nearly 100 million times. Because we think the package users might be interested in our paid offerings as well, we've put a small ad in the readme of each repo. In this blogpost I'll explain how we manage these ads using Laravel Nova and S3.
On our site you'll find the documentation of our bigger bigger packages, like laravel-medialibrary, laravel-backup, laravel-event-sourcing, ... Let's take a look at how that works.
On our website, we have a video section. All our videos uploaded to and handled via Vimeo where we have a Pro subscription. We chose Vimeo because it has an excellent widget to display videos, it converts our videos very fast, and it has a nice API to work with. Let's take a look at how Vimeo is integrated in our site.
On our Laravel powered company website we sell digital products: video courses, e-books, and software packages. Behind the scenes we use Laravel, Paddle, Vimeo, the GitHub API and a couple of other things.
We've open-sourced our site. You'll find the actual code we have deployed in the spatie-be repo on GitHub. In this blog post, I'll guide you through the code.
– blog.logrocket.com - submitted by Leonardo Losoviz
This is an intro to how transpiling works for PHP: Similar to how Babel compiles JS to make it compatible with older browsers, Rector can convert PHP code across versions. So we can use PHP 7.4 features (typed properties, arrow functions), and deploy it to PHP 7.1.
Read more [blog.logrocket.com]