@freekmurze@phpc.social
@freekmurze@phpc.social avatar

freekmurze

@freekmurze@phpc.social

This profile is from a federated server and may be incomplete. Browse more on the original instance.

freekmurze, to random
@freekmurze@phpc.social avatar

🔗 Is it time to ditch MySQL and PostgreSQL for SQLite?
https://onfold.sh/blog/is-it-time-to-ditch-mysql-and-postgresql-for-sqlite

phpc, (edited ) to php
@phpc@phpc.social avatar

This has been my official logo since 2004. That’s 20 years! It might be time to get a new one. 🙂

Who knows what these three colors (green, yellow, and purple) stand for?

https://github.com/phpcommunity/phpcommunity-logo

#PHP #PHPC :elephpant: :php: :phpc:

freekmurze,
@freekmurze@phpc.social avatar

@phpc maybe @caneco can help with creating a new one

freekmurze, to random
@freekmurze@phpc.social avatar

🔗 The infamous Repository Pattern in PHP
https://doeken.org/blog/repository-pattern

freekmurze, to random
@freekmurze@phpc.social avatar

🔗 Refreshing your Livewire components using event listeners
https://wire-elements.dev/blog/refreshing-your-livewire-components-using-event-listeners

freekmurze, to random
@freekmurze@phpc.social avatar

🔗 Pest comes with Ray integration out of the box
https://myray.app/blog/pest-comes-with-ray-integration-out-of-the-box

freekmurze, to Laravel
@freekmurze@phpc.social avatar

🗣️ Doing a few testruns of my Laracon EU talk today
Slaravelstuff to talk about!

🙌 I’m looking forward showing all of this stuff to you!

freekmurze, to php
@freekmurze@phpc.social avatar

Here’s how we generate the @OhDearApp powered status badges: https://freek.dev/2652-generating-status-badges-using-php

Spoilers: the badges are dynamically generated SVGs, we use a fancy PHP function to calculate the width. I also show our caching strategy.

freekmurze, to random
@freekmurze@phpc.social avatar

I’ve just deployed a nice new feature for https://ohdear.app : status badges that you can embed anywhere.

Available for all sites and status pages you have on your account 👍

I’ll blog about how we generate those badges soon, it’s quite interesting.

freekmurze, to random
@freekmurze@phpc.social avatar
freekmurze, to random
@freekmurze@phpc.social avatar

🔗 Generate PDFs in Laravel: A Deep Dive into Laravel PDF Export with Spatie/Browsershot
https://www.youtube.com/watch?v=320vwRDqi9w

freekmurze, to php
@freekmurze@phpc.social avatar

💡 TIL has a function that can calculate the bounding box coordinates of a string that’s rendered in a given font
https://www.php.net/manual/en/function.imagettfbbox.php

I’m using this function in an upcoming feature of Oh Dear: status badges. These badges are svgs with variable text (and length)

freekmurze, to php
@freekmurze@phpc.social avatar
freekmurze, to Laravel
@freekmurze@phpc.social avatar

🔍 I’ve added a new check to our Laravel Health package that can ensure your backups are healthy.

Docs: https://spatie.be/docs/laravel-health/v1/available-checks/backups

freekmurze, to random
@freekmurze@phpc.social avatar

🔗 Using interfaces in third-party packages
https://svenluijten.com/posts/using-interfaces-in-third-party-packages

freekmurze, to random
@freekmurze@phpc.social avatar

Recently, people started talking about a malware called “Androxgh0st” specifically targeting Laravel apps that have debug mode enabled. In a recent edition of Securing Laravel, @valorin wrote a good explanation of how it works.

https://securinglaravel.com/p/laravel-security-androxgh0Stephenare

You can make sure debug mode is always disabled using @OhDearApp’s application monitoring feature. Oh Dear will notify you whenever someone should enable it in production.

Here’s some more info on that: https://ohdear.app/news-and-updates/making-sure-laravels-debug-mode-is-always-disabled-in-production

freekmurze, to random
@freekmurze@phpc.social avatar

🔗 Keycode Event Helper
https://ryangjchandler.co.uk/tools/keycode

freekmurze, to random
@freekmurze@phpc.social avatar

We just sent out a newsletter with everything that happened at Spatie these last few months.

Read it here:
https://spatie.mailcoach.app/webview/campaign/9008666b-1f46-44ee-8cb9-be4be4089fff

freekmurze, to random
@freekmurze@phpc.social avatar

🔗 What is a Command Bus?
https://www.youtube.com/watch?v=pXVZhFE2pbk

freekmurze, to random
@freekmurze@phpc.social avatar
freekmurze, to random
@freekmurze@phpc.social avatar

🔗 Running Laravel in a subdirectory (Tricky Nginx config)
https://www.youtube.com/watch?v=tZGg2kdOjhQ

freekmurze, to random
@freekmurze@phpc.social avatar

😅 50 PRs to spatie/holidays

Pretty wild!

freekmurze, to random
@freekmurze@phpc.social avatar

We released a mini package to calculate public holidays in a country.
https://github.com/spatie/holidays

We've made this package for our own nPRss and packaged it, so you don't have to code it up in your project.

Right now Belgium, Netherlands and Hungary are supported, but we welcome PRs to add support for more countries 👍

freekmurze,
@freekmurze@phpc.social avatar

@heiglandreas Seems like I'm getting PRs for all other countries 😅

freekmurze,
@freekmurze@phpc.social avatar

@rauhvargers I’ll refactor that away soon 👍

freekmurze, to php
@freekmurze@phpc.social avatar

🔥 Did you know you that Pest comes with support for Ray built in?

👍 After expect you can chain ray() and the value under test (in this case $holidays will ben sent to Ray!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines