Encrypting Laravel Eloquent models with CipherSweet
Link – – rias.be
We've just released laravel-ciphersweet. This package is a wrapper over CipherSweet, which allows you to easily use it with Laravel's Eloquent models.
Read more [rias.be]
Oh Dear is the all-in-one monitoring tool for your entire website. We monitor uptime, SSL certificates, broken links, scheduled tasks and more. You'll get a notifications for us when something's wrong. All that paired with a developer friendly API and kick-ass documentation. O, and you'll also be able to create a public status page under a minute. Start monitoring using our free trial now.
Link – – rias.be
We've just released laravel-ciphersweet. This package is a wrapper over CipherSweet, which allows you to easily use it with Laravel's Eloquent models.
Read more [rias.be]
Link – – doeken.org - submitted by Doeke Norg
Linked lists are a linear data structure that provides quick insertion and deletion.
Read more [doeken.org]
Stay up to date with all things Laravel, PHP, and JavaScript.
You can follow me on these platforms:
On all these platforms, regularly share programming tips, and what I myself have learned in ongoing projects.
Every month I send out a newsletter containing lots of interesting stuff for the modern PHP developer.
Expect quick tips & tricks, interesting tutorials, opinions and packages. Because I work with Laravel every day there is an emphasis on that framework.
Rest assured that I will only use your email address to send you the newsletter and will not use it for any other purposes.
Link – – stefanzweifel.io - submitted by Stefan Zweifel
A short introduction to sidecar-browsershot
package: How it works and for what it can be used for.
Read more [stefanzweifel.io]
Yesterday, the Laravel team released the vite-plugin. Going forward, Vite will become the standard build tool for Laravel apps.
One of the cool features of this Vite integration is that you'll get hot reloading by default. Whenever you run Vite with npm dev
and modify a JS or CSS file, Vite will automatically recompile the assets and refresh your browser. This way, you won't have to refresh your browser manually after making a change.
Wouldn't it be cool if this automatic refresh would work when we're changing a Blade file?
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.
Creating social images for your website is super simple using Browsershot and AWS Lambda.
Read more [yoeri.me]
Laravel 9 has gained a excellent new way to attach files in mails. Using the Attachable
interface, you can specify what should happen when an object gets used as an attachment.
Using our media library package you can easily associate any file with an Eloquent model. We've added support for Laravel's Attachable
in the latest version of the package.
In this blog post, I'd like to tell you all about it.
Link – – rias.be
Shiki is a beautiful syntax highlighter powered by the same language engine that many code editors use. We've just released a package that allows you to run Shiki on AWS Lambda through Sidecar.
Read more [rias.be]
Link – – www.morling.dev
These tips are also useful for any kind of presentation, whether on a conference, or an internal presentation for your company.
Read more [www.morling.dev]
Link – – leerob.io
A nice list of things to keep in mind when writing software or documentation.
Read more [leerob.io]
Link – – rias.be
Onboarding your users is one of the most important things you can do in your SaaS or application. After all, first impressions matter! Caleb Porzio has created an onboard package for Laravel which we (at Spatie) recently took over development and maintenance on.
Read more [rias.be]
Link – – www.aaronsaray.com
Personally I don't know if this is a good practice, but you (and future me) might like it.
Read more [www.aaronsaray.com]
Link – – tomasvotruba.com
Tomas Votruba explains how you can refactor old enum classes (from Spatie and MyCLabs) to native PHP enums
Read more [tomasvotruba.com]
Link – – ralphjsmit.com - submitted by Ralph J. Smit
Use the Stripe CLI with Laravel Valet to listen to webhooks locally.
Read more [ralphjsmit.com]
Link – – davecalnan.blog
Dave Calnan has been using Remix in production for about 6 months now and has decided to add a Laravel backend to the stack. Here's what he's learned from the process.
Read more [davecalnan.blog]
Link – – www.exakat.io
A good overview what you can do with variadic arguments...
Read more [www.exakat.io]
Link – – www.ietf.org
There are a couple of nice ideas there to solve longstanding problems with UUIDs
Read more [www.ietf.org]
Link – – siipo.la - submitted by Peter
What’s the best lossless image format? Comparing PNG, WebP, AVIF, and JPEG XL
Read more [siipo.la]
Adam shows the cool new stuff!
Link – – laravel-news.com
Laravel gives you the flexibility to choose the structure of controllers yourself, which is both a blessing and a curse. You won't find any recommendations in the official Laravel docs, so let's try to discuss various options, based on one specific example.
Read more [laravel-news.com]