Store strongly typed settings in a Laravel app original
We have released a new package, called spatie/laravel-settings, that allows you to strongly type settings in a Laravel app. In this blog post, I'd like to introduce the package to you.
Posts tagged with laravel
We have released a new package, called spatie/laravel-settings, that allows you to strongly type settings in a Laravel app. In this blog post, I'd like to introduce the package to you.
– naxon.dev - submitted by Daniel Naxon
Ever needed to apply filters on a query conditionally, only when the user actually applies them? Laravel query builder's method when got you covered.
Read more [naxon.dev]
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.
"As a Laravel developer, this is the one newsletter I most look forward to. Freek has a talent for distilling packages or techniques down to something immediately useful - one tip can save you hours and even weeks. It's concise and practical and highly relevant."
At Spatie, we want to stimulate contributing to our open source stuff. That's why we said that we'd give away some of our paid products for free to authors of the best PRs we got in October. In a way, it's our own small version of Hacktoberfest.
In this blog post, I'd like to announce the winners.
When handling uploads, a traditional input type of file has some downsides. In this streaming session I did yesterday, I explain those problems and share how they can be fixed using the upcoming Media Library Pro.
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.
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.
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]
I'm proud to announce the release of our newest package Laravel Backup Server. This paid package can backup several servers at once. When a backup contains files also present in a previous backup, deduplication using hard links will be performed. Even though you will see full backups in the…
– 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]
Another nice post by Tim who continues to share suprising, little nice features of Laravel.
Read more [timacdonald.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]
We've already covered a lot of ground in this series. Let's finish by highlighting some miscellaneous interesting tidbits.
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.
We'd like to stay in touch with the people interested in our products by sending them emails when we got some news on an upcoming product, or when we are running a promo for existing products. To handle subscriptions and send out emails, we use our home-grown Laravel package Mailcoach. Let's take a look at how we use Mailcoach ourselves.
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.