Using Laravel's new Query Builder Upsert feature
– 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]
In this section you'll find links submitted by others.
Did you write or stumbled across a blog post, tutorial or video that might be interesting for others?
To be able to submit a link you need to log in first.
Log in– 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]
– protone.media - submitted by Pascal Baljet
Today a new version of Laravel FFMpeg has been released: version 7.3. It now has support for watermark built-in! You can add watermarks from your local or remote storage or even from the web.
Read more [protone.media]
– github.com - submitted by Peter
SEO package made for maximum customization and flexibility
Read more [github.com]
– dokov.bg - submitted by Ivan Dokov
Format PHP dates with ease. You don't have to Google the format string each time. Use plain English to set the format, almost as you pronounce it.
Read more [dokov.bg]
– timacdonald.me - submitted by Tim Mac
A "note to self" on how to best handle moving from a classic foreign key constrained relationship, to a polymorphic relationship in Eloquent, without impacting the end user.
Read more [timacdonald.me]
– 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]
– wyattblogs.com - submitted by Wyatt Castaneda
Laravel blade is a powerful tool, but the blade engine will only compile templates that are actually written to a file somewhere in this tutorial I show you how to use blade to compile any string.
Read more [wyattblogs.com]
– atymic.dev - submitted by atymic
Deep dive into running Laravel on DigitalOcean's new PAAS offering + In Depth Review
Read more [atymic.dev]
– liamhammett.com - submitted by Liam Hammett
There are a few different ways to handle translated text in your codebase, but here we’ll cover 2 of the more common approaches; using the full text in your source code, and using translation keys.
Read more [liamhammett.com]
– ryangjchandler.co.uk - submitted by Ryan Chandler
Have you ever used a service provider to set a default value for a third-party library? Have you ever done this based on the current request or URL? Have you ever considered doing this inside of middleware instead?
Read more [ryangjchandler.co.uk]
– ryangjchandler.co.uk - submitted by Ryan Chandler
A quick look at how you can configure your GitHub Actions workflows to only run when a certain phrase is present in the commit message.
Read more [ryangjchandler.co.uk]
– protone.media - submitted by Pascal Baljet
This package has a trait that you can add to a Form Request to convert base64 input data to files.
Read more [protone.media]
– github.com - submitted by Mark van den Broek
Extension to provide instant access to Tailwind support in mix builds. mix.taiwind(). Work seamlessly with spatie/laravel-mix-purgecss. Forge that import notice ;) https://github.com/spatie/laravel-mix-purgecss#important-notice-for-mixpostcss-or-postcssconfigjs-users
Read more [github.com]
– tighten.co - submitted by Jamison Valenta
Marje Holmstrom-Sabo describes Tighten's intent and successes this year in facilitating sponsorship of hundreds of Laracon Online tickets.
Read more [tighten.co]
– johnbraun.blog - submitted by John Braun
In view of upcoming Hacktoberfest, I want to share some tips for beginners who might want to make their first contribution specifically to a PHP package. From my own experience, I know it can look daunting to work on a package as opposed to a "regular" (Laravel) application.
Read more [johnbraun.blog]
– stefanzweifel.io - submitted by Stefan Zweifel
A quick intro on how to use states for "nested" Database Factories. The examples covers the Models created by laravel/cashier-paddle package.
Read more [stefanzweifel.io]
– ryangjchandler.co.uk - submitted by Ryan Chandler
Laravel makes use of the internal `Pipeline` class and it's more common in userland too, but have you ever considered tidying up these pipeline processes with custom pipeline classes?
Read more [ryangjchandler.co.uk]
– twitter.com - submitted by Ahmed Abd El Ftah
it's a tip for calling afterCreating methods outside configure() method in laravel 8
Read more [twitter.com]
– talltips.novate.co.uk - submitted by Mark Snape
Now that Laravel 8 no longer uses the Login Controller with AuthenticatesUser trait, how do we include our own logic in the login process so that we can direct the user differently based on who they are.
Read more [talltips.novate.co.uk]
– github.com - submitted by Liam Hammett
There can be an unlimited number of Gmail addresses for a single Gmail account. This package offers a way to check how unique one really is.
Read more [github.com]