Freek Van der Herten 🔭 Profile Banner
Freek Van der Herten 🔭 Profile
Freek Van der Herten 🔭

@freekmurze

61,037
Followers
529
Following
6,255
Media
46,889
Statuses

PHP developer at @spatie_be , built @getmailcoach , , @ohdearapp and @flareappio , blogging at , organising @fullstackeu

Antwerp, Belgium
Joined December 2009
Don't wanna be here? Send us removal request.
@freekmurze
Freek Van der Herten 🔭
4 years
Open source !== just merging anything in.
Tweet media one
65
362
3K
@freekmurze
Freek Van der Herten 🔭
4 years
PHP 8 will be released tomorrow! Who’s excited for this? 🖐 #php
56
174
1K
@freekmurze
Freek Van der Herten 🔭
4 years
Sliding into Laracon week like 🚙
Tweet media one
@taylorotwell
Taylor Otwell ☁️ 🦹
4 years
Sliding into Laracon week like 🏎
Tweet media one
41
51
1K
76
42
1K
@freekmurze
Freek Van der Herten 🔭
9 months
🚀 I’ve tagged 1.0 of spatie/laravel-pdf 🔥 This package can create PDFs from Blade views 🎨 You can use modern CSS syntax and frameworks like Tailwind to style your PDFs. 🧪 Comes with a fake so you can easily test code that generates a PDF 😍 Lots of Laravel niceties
Tweet media one
44
171
1K
@freekmurze
Freek Van der Herten 🔭
6 years
Did you know you can destructure arrays in foreach loops? 🔥 #php
Tweet media one
29
369
953
@freekmurze
Freek Van der Herten 🔭
6 months
We have made it! 🥳 One. Billion. Downloads. 🥳 Our story: #php #laravel RT = ❤️
Tweet media one
73
160
936
@freekmurze
Freek Van der Herten 🔭
2 years
💪 Now consistently executing over 20 000 jobs per minute / 1 million jobs per hour at 🐘 “PHP doesn’t scale” Yeah, whatever 🙂
Tweet media one
38
117
890
@freekmurze
Freek Van der Herten 🔭
4 years
If you’re reading this you are a @laravelphp Elite 👍
48
57
857
@freekmurze
Freek Van der Herten 🔭
1 year
After having Google this one times to many, I finally added an uncommit alias to my dotfiles #devlife
Tweet media one
24
46
774
@freekmurze
Freek Van der Herten 🔭
2 years
🌎 We’re proud to announce Worldwide Spatie Discounts! Next week you can enjoy unimaginable discounts the entire Spatie catalogue. ✨ Every day we’ll introduce a magical discount for one of our products We've made a fun video about it! 👀 Keep an eye on
78
81
769
@freekmurze
Freek Van der Herten 🔭
4 years
🚀 Ray is here: a tool that helps you to debug faster. Think of it as something in between dump-die-debugging and Xdebug. Free demo: Blogpost: Full docs: We added a lot niceties for @laravelphp #php
Tweet media one
Tweet media two
Tweet media three
Tweet media four
81
319
726
@freekmurze
Freek Van der Herten 🔭
2 years
😍 Laravel’s Http client is amazing. Using just a bit of code, you can specify a timeout, retry attempts, and immediately get the result as JSON. Is there any other HTTP client written in #php that makes it this easy? 💪 Laravel
Tweet media one
20
96
725
@freekmurze
Freek Van der Herten 🔭
5 years
Q: Isn’t PHP terrible/dead? A: Just read this: RT if you ❤️ PHP
17
508
646
@freekmurze
Freek Van der Herten 🔭
4 years
PHP is dead Laravel can’t scale Do you know other statements didn’t age quite well?
91
90
633
@freekmurze
Freek Van der Herten 🔭
6 years
🔥 Here's an undocumented hidden @laravelphp gem. Did you know you there's a shorter way to retrieve models in a chunked way? 🔥 #laravel #php
Tweet media one
15
171
613
@freekmurze
Freek Van der Herten 🔭
2 years
Tweet media one
19
43
611
@freekmurze
Freek Van der Herten 🔭
2 years
🚀 Our Laravel Comments package is now available! - a beautiful Livewire component - emoji reactions - markdown supported - code highlighting - approval flow - notifications on new comments - endlessly customizable - much more!
41
171
558
@freekmurze
Freek Van der Herten 🔭
2 years
PHP does have a compilation step. It’s called “PhpStorm indexing” 🙂
21
34
571
@freekmurze
Freek Van der Herten 🔭
2 years
Laracon India is pretty wild! #laraconIn
25
55
554
@freekmurze
Freek Van der Herten 🔭
3 years
I like PRs that optimise code readability 👍
Tweet media one
19
50
546
@freekmurze
Freek Van der Herten 🔭
3 years
❤️ Gotta love named arguments in #PHP
Tweet media one
16
64
542
@freekmurze
Freek Van der Herten 🔭
4 years
Dear Saas owners, Every month I have to go to your site, to download the invoice for the month and forward it to our accountant. Please, for the love of the one you worship, add a field to specify to which email address invoices of your service will be mailed. Thanks!
24
37
540
@freekmurze
Freek Van der Herten 🔭
6 years
I often use Eloquent's `query` just to have the code better aligned #visualdebtisreal
Tweet media one
33
89
522
@freekmurze
Freek Van der Herten 🔭
8 months
🚀 We just released a mini-package called spatie/holidays that can calculate all public holidays for a country. Right now Belgium, Netherlands and Hungary are supported, but we’re welcoming PRs for other countries. #php
Tweet media one
27
66
515
@freekmurze
Freek Van der Herten 🔭
3 years
🚀 I'm proud to share that our team has released a new major version of Ignition. It's the most beautiful error page you ever seen, and it will be the default in @laravelphp 9 👍You can also install it in Laravel 8! 🧵 Let's take a look at all the features
Tweet media one
17
79
494
@freekmurze
Freek Van der Herten 🔭
1 year
🔥🔥🔥 Did you know that the latest version of Ignition - the @laravelphp error page you're already using - comes with AI solutions out of the box? To enable this feature, add this to your .env IGNITION_OPEN_AI_KEY=<your-open-ai-key> More info:
Tweet media one
14
107
489
@freekmurze
Freek Van der Herten 🔭
1 year
🧘‍♂️I’ve been struggling with some mental issues because <life happened> and been going to therapy for a couple months. And I can tell you that - if you find someone good - it really helps, like a lot! 👍 If you're struggling with something, don't be afraid to go talk to someone
47
17
478
@freekmurze
Freek Van der Herten 🔭
2 years
Can we end all future Laracons like this? #laraconIN
18
65
476
@freekmurze
Freek Van der Herten 🔭
2 years
🐘 Can you believe I didn’t know that PHP has a backtick operator? Anything between `` will be executed like shell_exec and returned 🤯 Docs:
Tweet media one
28
89
468
@freekmurze
Freek Van der Herten 🔭
5 years
The next 24 hours, we’re giving away the @getmailcoach video course for free! This is our way of nudging people to stay inside and do something useful. Use this coupon (gives a discount that matches the course) STAY-INSIDE-AND-GROW-YOUR-BRAIN RT = ❤️
Tweet media one
81
294
449
@freekmurze
Freek Van der Herten 🔭
3 years
Redis is such a great piece of technology ❤️
13
17
448
@freekmurze
Freek Van der Herten 🔭
3 years
👋 Bye bye, optional. You made my code very pretty in PHP 7, but you’re not needed anymore in PHP 8 👍
Tweet media one
14
56
442
@freekmurze
Freek Van der Herten 🔭
2 years
💡🏠 Should I create a package out of this?
Tweet media one
52
9
427
@freekmurze
Freek Van der Herten 🔭
3 years
🧪 In each big project I have a routes file called “dev.php” that only gets loaded in a local environment. It contains routes to easily tests stuff, like for instance mails. This way it’s easy to work on view of a mail without actually sending it.
Tweet media one
Tweet media two
19
41
427
@freekmurze
Freek Van der Herten 🔭
3 years
🚀 Our newest package, called Laravel Health, has been released: 👍 Easy to install ✅ A collection of built-in checks 🧑‍💻 Add checks of your own 📈 Health dashboard ⏰ Notifications 👀 Integration with @OhDearApp Blogpost: #php
Tweet media one
13
77
415
@freekmurze
Freek Van der Herten 🔭
1 year
🐘 In PHP, if you don’t use curly brackets with an if statement, than the next statement is the body of that if statement. Personally, I find this very hard to read and always refactor to something that’s a little bit more explicit. #php
Tweet media one
77
15
420
@freekmurze
Freek Van der Herten 🔭
9 months
🧑‍💻 Working a bit on my new PDF package tonight ⚠️ Still very WIP, but what’s there is already working 🙌 Feel free to PR features and API polishments #laravel #php
Tweet media one
Tweet media two
27
32
412
@freekmurze
Freek Van der Herten 🔭
1 year
🖐️ Who here has felt the pain of making a email look good in all email clients? I recently stumbled upon a technology called MJML that makes this process much easier. You just use MJLM syntax to craft your mail, and the output is HTML that will work in all clients.
Tweet media one
25
46
409
@freekmurze
Freek Van der Herten 🔭
4 years
It’s such a habit to thank people for PRs that I’ve just thanked myself. Well done, past me!
Tweet media one
16
11
405
@freekmurze
Freek Van der Herten 🔭
5 years
🔥 If you need to process a lot of models, don't load them all into memory, but chunk them. Laravel has a beautiful `each` method for this. #laravel #php
Tweet media one
8
113
398
@freekmurze
Freek Van der Herten 🔭
4 years
🥁 Announcing Front Line PHP: an e-book and video course on writing modern applications using PHP 8 📘 We’ll cover PHP 8, best practices and much more. 😍 The video course will be free! 📬 Subscribe to our mailing list for previews and early access. #php
Tweet media one
10
167
394
@freekmurze
Freek Van der Herten 🔭
5 years
Laravel's routing is really beautiful, it's one of the things that pulling me into Laravel when first learning the framework
Tweet media one
26
48
391
@freekmurze
Freek Van der Herten 🔭
9 months
There we go, multi-page PDFs made easy:
Tweet media one
23
51
394
@freekmurze
Freek Van der Herten 🔭
2 years
@taylorotwell For me, it was avoiding else Small example taken from
Tweet media one
18
19
394
@freekmurze
Freek Van der Herten 🔭
3 years
🚀 Our newest package, laravel-data, has been released. This one can replace Form Request,s API resources, it will help you avoiding describing data structures multiple times 📘 Docs: ✍️ Post: 🏅 Excellent work by @rubenvanassche
Tweet media one
17
63
384
@freekmurze
Freek Van der Herten 🔭
4 years
Gotta love lookup arrays!
Tweet media one
25
32
385
@freekmurze
Freek Van der Herten 🔭
9 months
Googling something and getting an answer from your younger self 🙂
Tweet media one
15
5
381
@freekmurze
Freek Van der Herten 🔭
3 years
When creating a complex job (or other class) I usually put comments on what it should do, and then implement each of the comments
Tweet media one
34
29
379
@freekmurze
Freek Van der Herten 🔭
3 years
🐘 Feature request for #PHP : make the function body of a constructor optional
Tweet media one
18
29
378
@freekmurze
Freek Van der Herten 🔭
1 year
👍 I’ll be live-streaming @enunomaduro ’s and @taylorotwell ’s talks at @LaraconUS via my YouTube channel. (Yes, I asked @taylorotwell and he was fine with it 👍) I’ll post the YouTube event links soon! 🙏 Let’s hope there is strong enough wifi
25
21
378
@freekmurze
Freek Van der Herten 🔭
4 years
💫 Upgrading to Composer 2 is ridiculously easy. Just run composer self-update --2 #php
Tweet media one
5
70
368
@freekmurze
Freek Van der Herten 🔭
2 years
🐘 In Composer 2.4 there’s a new `bump` command that allows you to update the versions mentioned in composer.json to the latest versions within the constraints.
Tweet media one
7
73
371
@freekmurze
Freek Van der Herten 🔭
6 years
Introducing laravel-websockets, an easy to use WebSocket server implemented in PHP #php #laravel #package #websockets
30
117
364
@freekmurze
Freek Van der Herten 🔭
2 years
📸 When somebody asks for a selfie, I always ask one back. Here’s my photoroll right now… #LaraconIN
Tweet media one
13
26
362
@freekmurze
Freek Van der Herten 🔭
2 years
🔥 The new Laravel Vite plugin unlocks hot reloading of Blade files. 🔄 So when you save a Blade file in your IDE, your browser will refresh automatically. ⚙️ Just add this part to your vite config: (taken from this blog post: )
6
60
361
@freekmurze
Freek Van der Herten 🔭
2 years
I very much prefer string interpolation over sprintf calls. Feels way more readable to my eyes. What do you think?
Tweet media one
64
10
359
@freekmurze
Freek Van der Herten 🔭
4 years
🥰 Gotta love constructor property promotion! #php8 #php If you don’t know the feature yet, here’s an introduction:
Tweet media one
15
49
357
@freekmurze
Freek Van der Herten 🔭
4 years
Gotta love these kinds of refactors. Less code to read, no meaning lost. ❤️ modern PHP #php
Tweet media one
Tweet media two
13
35
355
@freekmurze
Freek Van der Herten 🔭
3 years
🐘If you need some simple pattern matching in #PHP , you don’t need to immediately turn to regex. Take a look at fnmatch: It was made for filenames, but it works with all strings 👍
Tweet media one
6
67
350
@freekmurze
Freek Van der Herten 🔭
3 years
🔥 A way to check if a string contains valid JSON: just decode it, encode it again, and check if it matches the original value #php
Tweet media one
25
49
347
@freekmurze
Freek Van der Herten 🔭
2 years
I’m never going to forget the good time I had a Laracon India. ❤️ The Laravel India community rocks! ❤️ If you read this, do yourself a favour and buy a ticket when next year’s edition is announced. You won’t regret it! 👍 #laraconIN
Tweet media one
Tweet media two
Tweet media three
Tweet media four
8
32
343
@freekmurze
Freek Van der Herten 🔭
1 year
🚀 Laravel Dashboard v3 has been tagged! This package allows you to build beautiful Livewire powered dashboards in no time! 👍 Now ready for Livewire v3 #laravel #php
Tweet media one
9
60
342
@freekmurze
Freek Van der Herten 🔭
1 year
🔥 Did you know that if you return a Mailable in a route, that the mailable will get rendered in browsers? Pretty handy for developing mails! In my projects I often have a routes/dev.php file that contains such routes (it will only be loaded locally) #laravel #php
Tweet media one
16
46
335
@freekmurze
Freek Van der Herten 🔭
3 years
🔍 `whereRelation` is a pretty cool new method in @laravelphp
Tweet media one
6
51
340
@freekmurze
Freek Van der Herten 🔭
5 years
🔥 In many cases avoiding `else` and using early returns will greatly improve readability of your code. I wish somebody would have told me this sooner in my career. Contrived example in the image. Real world example: #bestpractices
Tweet media one
26
92
338
@freekmurze
Freek Van der Herten 🔭
2 years
🧑‍💻 Working on a nice little Laravel package called laravel-model-flags This one allows you to easily create idempotent pieces of code. If have already coded these functions up in sooo many projects, glad that I’m finally packaging them up. #laravel #php
Tweet media one
20
35
339
@freekmurze
Freek Van der Herten 🔭
5 years
📬 Proud to announce Mailcoach, a solution to send out newsletters at a low cost Mailcoach can be used a stand alone app, or as a package in your own @laravelphp application. Launching soon, subscribe now to be kept in the loop! RT=❤️
Tweet media one
19
92
335
@freekmurze
Freek Van der Herten 🔭
3 years
🧪 Our upcoming video course Testing Laravel will help you write quality tests. 🧠 We’ll show you the basics, how to test a @laravelphp app, and all our own testing tricks. 👍You’ll ship less bugs to production and refactor without fear. #php #testing
Tweet media one
20
153
339
@freekmurze
Freek Van der Herten 🔭
3 years
👏 Oh wow, you can now create diagrams in markdowns on GitHub A little test: More info:
Tweet media one
Tweet media two
17
64
334
@freekmurze
Freek Van der Herten 🔭
3 years
When somebody makes an error in our team, we never blame the keypresses of an individual, but rather the team processes that fell short. When bad things happen, we see it as an opportunity to improve our workflow and do it better in the future 👍
9
52
336
@freekmurze
Freek Van der Herten 🔭
2 years
💅 We also have some cool animations going
12
10
320
@freekmurze
Freek Van der Herten 🔭
2 years
📺 The highlights reel of the first day of #LaraconIN This was an epic day!
9
59
315
@freekmurze
Freek Van der Herten 🔭
3 years
🔄 Small #git tip: you can use “git checkout -“ to quickly jump to your previous branch.
Tweet media one
12
34
315
@freekmurze
Freek Van der Herten 🔭
4 years
📺 Announcing Laravel Beyond CRUD, a premium video course and book by @spatie_be that shows you a way of building laravel-than-avarage @laravelphp apps 🚀 Will be released in September 2020. Blog post: RT = ❤️
Tweet media one
14
106
315
@freekmurze
Freek Van der Herten 🔭
4 years
📦 Announcing Laravel Package Training, a premium video course by @spatie_be 📦 🧠 You’ll see our proven workflow, learn how to leverage GitHub Actions, and much more! 🏊‍♂️ We’ll even source dive @spatie_be packages together! RT = ❤️❤️❤️
Tweet media one
Tweet media two
19
93
313
@freekmurze
Freek Van der Herten 🔭
4 years
🧠 Learn how to create larger than average @laravelphp applications in our new book + video course called Laravel Beyond CRUD. This knowledge is built from years of experience @spatie_be has building robust apps Many things apply to smaller projects too!
Tweet media one
Tweet media two
13
416
309
@freekmurze
Freek Van der Herten 🔭
3 years
🤩 O my, all @laravelphp developers are going to be so happy today.
15
12
310
@freekmurze
Freek Van der Herten 🔭
4 years
Laravel-backup has 3 million downloads, 0 issues and all PRs are handled. 🎉
Tweet media one
17
15
309
@freekmurze
Freek Van der Herten 🔭
3 years
🐘 PHP is a fantastic language that has seen many cool improvements over the past few years. Currently, only a very few people (can) work on the language itself. This is obviously not healthy and hopefully this situation will improve in the future.
9
73
305
@freekmurze
Freek Van der Herten 🔭
3 years
🕊 Did you know that @phpstorm has excellent support for resolving merge conflicts?
Tweet media one
45
22
305
@freekmurze
Freek Van der Herten 🔭
4 years
💡Here’s a cheat sheet of cool things you can do using modern PHP #php #php8
Tweet media one
3
84
305
@freekmurze
Freek Van der Herten 🔭
3 years
Ow yeah! My favourite kind of PR.
Tweet media one
12
11
308
@freekmurze
Freek Van der Herten 🔭
6 years
Every day...
Tweet media one
23
45
303
@freekmurze
Freek Van der Herten 🔭
5 years
Yesterday we were packing boxes, today we are moving to our new office 🥳
Tweet media one
Tweet media two
Tweet media three
Tweet media four
23
1
300
@freekmurze
Freek Van der Herten 🔭
6 years
laravel-websockets is trending at @github . We're at number 4! This is btw not GitHub's #PHP trending list, but the one including all languages #mindblown 🤯 @marcelpociot are really happy that the package gets such a warm welcome!
Tweet media one
11
50
301
@freekmurze
Freek Van der Herten 🔭
3 years
🐘 `match` is one of my favourite PHP 8.0 features #php
Tweet media one
11
37
299
@freekmurze
Freek Van der Herten 🔭
3 years
🚀 I’ve just released Visit, a CLI tool for humans to make network requests In this blog post I explain what this tool can do (and why I am not using curl for this):
Tweet media one
19
63
302
@freekmurze
Freek Van der Herten 🔭
9 months
✍️ Laravel PDF is feature complete, so writing the introductionary blog post now I’ll release the package after one of my colleagues has reviewed it! You can already take a look at the code here: #pdf #laravel
Tweet media one
18
26
299
@freekmurze
Freek Van der Herten 🔭
3 years
🚀 Our new course is now available. You'll learn to test your @laravelphp app from scratch. We also show many tips and tricks to sharpen your existing testing skills. 📺 6+ hours of video 🧪Covers @pestphp and @phpunit ☝️Access to private Q&A session
20
322
296
@freekmurze
Freek Van der Herten 🔭
2 years
10 years of @laracasts ! Congrats @jeffrey_way #LaraconEU I subscribed very early, I wonder what my user id is 😀
Tweet media one
7
10
295
@freekmurze
Freek Van der Herten 🔭
2 years
🚀 spatie/laravel-onboard has been released. This @laravelphp package tracks onboarding steps for new users. 🧑‍💻 @calebporzio made the first version that we now maintain. @Riasvdv did some good work polishing it ✍️ Blogpost: #php
Tweet media one
5
42
299
@freekmurze
Freek Van der Herten 🔭
4 years
🐛 A little hidden gem in @laravelphp : you can call `dump` and `dd` on queries. Very handy when debugging.
Tweet media one
10
54
297
@freekmurze
Freek Van der Herten 🔭
2 years
Eloquent’s `setRelation` is a very powerful method when used well. Here’s how I used it to solve a performance problem in @OhDearApp #laravel #php #performance
Tweet media one
11
54
294
@freekmurze
Freek Van der Herten 🔭
3 years
🚀 Global Ray has been released. It allows you to use "dd()”, "dump()” and "ray()” in any PHP file on your system. #laravel #php #package
Tweet media one
14
43
295
@freekmurze
Freek Van der Herten 🔭
6 years
🔥🔥🔥 The third (and probably final) iteration of the search QueryBuilder macro. Now it's save to add extra wheres to the query. Pretty cool, right? Retweeting this will do you no harm! #laravel #php
Tweet media one
7
124
295
@freekmurze
Freek Van der Herten 🔭
9 months
And if you take a look at all languages, not just PHP, we’re at number 34. Not bad for a company as small as ours!
Tweet media one
@freekmurze
Freek Van der Herten 🔭
9 months
⭐️ Spatie repos have been starred 166 152 times 💪 Only behind @symfony and @laravelphp now for #PHP ! Full list:
Tweet media one
3
12
200
17
8
297
@freekmurze
Freek Van der Herten 🔭
4 years
I’ve just open sourced You’ll find the code that is deployed to our server in this repo: There’s a lot going on there. Integrations with Vimeo, Paddle, GitHub Amazon, Mailcoach, Nova, … Blogpost incoming!
Tweet media one
9
34
288
@freekmurze
Freek Van der Herten 🔭
3 years
If you’re working on a project that is deployed on a server with an other version of PHP than your local environment, then you should use the `platform` option in composer.json. This will let composer only use packages that are compatible with PHP 8.0 (my local version is 8.1)
Tweet media one
6
55
289