🚀 Launching a new video series: Laravel Ecosystem! 🪐
Laravel's world is vast with countless packages and products. We will guide you through all of our first-party tools, ensuring you make the most out of our rich ecosystem.
Stay tuned for weekly new videos ✌️
🤐 Remember the secret project I told you about?
I joined
@laravelphp
to keep doing what I love just now, more officially 🤩
➡️ Here's what's new in Laravel:
I proudly present: 🔥 Laravel Core Adventures 🔥
A free video series that teaches you how the
@laravelphp
works under the hood. If this is something you are interested in, please let me know by subscribing. Also, make sure to check the first videos.
In testing, I used "first" often, expecting one DB record only. When unexpected data arrives, test failure becomes tricky to debug.
A superior choice: use "sole" which fails without one exclusive record, simplifying fixing tests massively.
Kudos
@sebdedeyne
for reminding me!😘
I turned 39 today...
➡️ not in the shape of my life
➡️ not a millionaire
➡️ no successful SaaS
But I have a family that loves me, a job that I enjoy, I'm healthy, and most importantly... I am happy.
Couldn't ask for more ✌️
🔥🎉 I proudly present the new Laravel Core Adventures website 🎉🔥
It's the basecamp for all your adventures through Laravel's core.
Only take with you what you can carry — we won't be back too soon 🤠
#LaravelCoreAdventures
I've been a bit more offline lately for a good reason.
We are now a little family with a baby girl born this week. We couldn’t be any happier 💕💖💕
It has already been quite a ride, and we are super thankful for this gift which isn’t a matter of course anymore these days 🙏
The week after
@LaraconUS
and the LCA PRO release I got married ❤️ This is also the reason why I wasn't much online lately. We just came back from our 🍯🌒
Couldn't be happier😍
🧪 Mastering PhpStorm Is Live 🧪
A video course to teach you how to work fast + efficiently in a beautiful clean IDE.
Get my battle-tested dev workflow, theme, and more for -20% today and tomorrow.
RT = ❤️ + Chance to win 3x "ONE YEAR FREE PhpStorm"
🌟 New Free Video Course 🌟
Today, I released "Getting Started with TDD in PHP," a free mini-video course to give you a practical introduction to test-driven development.
Let me tell you about my favorite way of programming.
PS: Retweet = ❤️🙏🏻
Building a PHP SDK for a big and modern tech company. Best compliment you can get:
🌟 "I was really surprised how beautiful PHP code can look." 🌟
PHP has come a long way, but it's still here, still driving the web and YES you can write fast, beautiful and reliable code 🐘
Wanted to share this experience for a long time, but never felt comfortable enough. Now, one year later, it's time to overcome my fears. Not for me, but for you. This is the reality.
The €963 Book Launch That Made Me Wish To Get Back To My Secured Job
🐘 Over the last years, refactoring code has become a crucial task in my daily work. It's the missing link between "working" and "good" code.
In my latest post, I share what good code means to me and how I use it to refactor my PHP applications.
🧪
#PhpStorm
Tips & Tricks
#10
Next to "Live Templates" there are also "Postfix Templates" which you can trigger by putting a "." after an expression and then add a key.
This way you don't have to replace the cursor if you wrote the expression first.
".dd" is a custom one 😈
🎉 PEST Driven Laravel is FINISHED 🎉
My course on building a full app with TDD and your fav tools
@laravelphp
@pestphp
+
@LaravelLivewire
is done. (45 videos, 6h content 🔥)
Learn to write code for today AND the future with test-driven development ✨
🥳 Over 700 people already subscribed for Laravel Core Adventures 🥳
Thank you so much for all your support. I'm working hard to provide you with new videos and the full site soon. It's more work than expected, but you people motivate me. Thanks a lot ♥️
💡Better many-to-many relationship table names
By default, Laravel assumes a table name like "user"_"video". Often there is a better name to describe the table's content.
Here are two examples from my current application.
🧪 Have you ever wondered what you can test in a Laravel application? It is a lot!
This is a list of everything I test in my applications, including examples.
📝 Moving A Laravel Webpack Project To Vite
Wrote a new blog post after switching one of my Laravel projects from Webpack to Vite.
It also includes some tips for troubleshooting 👍
Happy to finally present:
🎉Laravel Factories Reloaded 1.0🎉
A package to generate class-based factories to provide:
- cleaner + more readable tests
- full auto-complete
- extendable factories
- and more
Give it a try and let me know what you think
🧪 Mastering PhpStorm
is a video course I'm currently working on to help beginners and experienced
#phpstorm
users to become more efficient while using their favorite IDE.
Show your interest by subscribing and vote for the covered content ⬇️ RT = ❤️
🦄 Laravel Quick Tip: Did you know that you can change the keys of a collection to a given value of the collection? 😮 Perfect for removing items of a collection by the model id.
#laravel
Is it just me, or are "hasOne" and "belongsTo" relations confusing?
When my model holds the key to another model, I always start with "hasOne", because my model "has" another model connected.
Then I realize, I have to use "belongsTo" 🙈
🔥Just released Laravel Core Adventures PRO live on
@LaraconUS
stage.
It's a new paid version for my course that lets me continue making new videos for you. The next 48h I have a -15% discount!
It comes with new videos about Laravel's service container.
🧪
#PhpStorm
Tips & Tricks
#46
- No need for $this
In a class, you don't have to write "$this->" every time to get auto-completion for properties or methods. It just works. Much faster 👏
See all tips here:
Last week, I quit my second job at
@BlueOceanIdeas
. Thank you again for a fantastic time, especially
@LukebAbell
🙏
Since this week, I fully work for
@laravelphp
!
All focus on Laravel now ❤️
Woke up today, checked Twitter, and was glad it wasn't a dream. Still working at Laravel 😅
Thank you all for the nice words; this was unbelievable. I appreciate it feel very thankful and blessed 🙏
😑 Bugs me since I started PHP:
Why are there "community notes" on the official PHP docs?
- They are suuuuuuper old
- I mean like sometimes 11 years
- Often not helpful, too specific or misleading
Why not just show more official examples and get rid of them?
📺 🚀 Welcome Laravel Reverb
@_joedixon
introduced Reverb, the latest gem in our Laravel family, yesterday at the
#LaraconEU
. It's a WebSocket server bringing lightning-fast real-time communication to your Laravel apps.
Join me for an overview today! 🙌
I don't even know how to say thank you to
@LaraconIN
for these two days.
This event I will never forget 🙏 Thanks to the whole team and all the wonderful amazing attendees. What a community ❤️🇮🇳
#LaraconIN
PHP has a bright future ahead 🌟
- Lots of great new features
- Lots of frameworks, tools, environments
- Lots of amazing developers
- Lots of new initiatives that will help to improve its deprecated image
💡 Do you also struggle with reading negations in code? I always try to change my code so I can get rid of them using...
1⃣ ...different fields
2⃣ ...methods to hide the check
3⃣ ...combine checks
4⃣ ...give it a new name
Thanks, everyone for watching my
@LaraconOnline
talk. Somehow I made it through the tech issue. So glad it worked out.🤞🥳
As I promise here:
Slides -
Repo -
And now I enjoy the other talks. Cheers everyone 🍻
I have said it already, but I will say it again:
Laravel Herd will change local development for the better for the majority of PHP developers. This is the start of something big 🌟
📺 👋A Friendly Welcome To The Newest Laravel Family Member
Laravel Pulse is an application monitoring tool tailored specifically for your Laravel apps.
Here's our overview:
Another night with almost no sleep😴 Tired and on our way back home to Europe. We had such an amazing time
@LaravelLiveIN
in Mumbai. For sure unforgettable! Thank you so much 🙏
@enunomaduro
@freekmurze
💡In Laravel, you can add a "bootable" method to traits which are used in Eloquent models.
These methods get called with the model's boot method and are very handy for adding custom behavior inside the trait.
🤠 I'm looking for a part-time job for 1-3 days/week.
Here is how I can help you:
👨🏫 PHP/Laravel consulting
👷🏼♂️ PHP/Laravel development
👨🏼🎨 Content creation (videos)
🧗🏼♂️ Boulder courses :-)
If you think I can help you, please send a DM or email at christoph
@christoph
-rumpel.com.
📫 This is by far the most read blog post of mine this year. I remember working a whole day on this post to cover everything from start to finish.
Glad people are enjoying it that much ☺️
🧪
#PhpStorm
Tips & Tricks
#5
When I needed a tag around some given text, I always created the tag first, then put the text in. I got used to this tedious behavior 🙈
Recently I discovered the "Surround With" feature. 😮
Such details make so much difference in your workflow!
🐘 PHP: Community Synergy Initiative
@dr4goonis
& I want to improve:
- ability to contrib to PHP website/docs
- comms between community & project maintainers
- developer experience
Pls check the post & survey ❤️
Post
Survey
🎉 PEST Driven Laravel is live
Learn to write fully tested apps that are a joy to work with now and in the future. Let me show you everything I learned about TDD while coding valuable tests with
@pestphp
.
➡️ Unlock the power of TDD (-25% discount now)
🔥 Skip intermediate objects while mocking
Learned something new today. When you are only interested in the last call of chained methods, you can skip the objects in between.
This means way less code because you only mock the first object 👍
Thanks
@Rojtjo
&
@xiCO2k
I usually don't work on weekends, but when I do, I'm glad that I still love to code.
How do you deal with work on weekends?
Currently, I'm putting a lot of ❤️ in the videos for Writing Readable PHP. I hope you are as excited about this product as I am 🙏🏻
🧪
#PhpStorm
Tips & Tricks
#12
There are numerous things you can do with if/else statements in PhpStorm like:
- flip condition
- simplify them
- get rid of "else" (EA Inspections plugin)
🤠 Just Released A New Laravel Core Adventure
✨The Rise Of Laravel Livewire
Let me walk you through the core of one of my favorite Laravel packages
@LaravelLivewire
.
📺 8+ Videos
⏰ 73min
🧙♀️ No more magic
🔥 Know your tools to better use them
RT = ❤️
I always have to remind myself:
- it is ok not to work on weekends
- it is ok to expect money for my work
- it is ok not to release something every month
🧪
#PhpStorm
Tips & Tricks
#53
- Lorem ipsum
Type "lorem" and expand it for a placeholder text. But you can also:
- define the word count ➡️ "lorem5"
- or combine it with a tag ➡️ "p>lorem5"
Thanks for the tip
@freekmurze
🙏🏻
First two episodes of our new adventure out:
☠️ 🔥 The Lost Eloquent Temple of Doom ☠️ 🔥
Join me on this trip through the deep of my favorite piece of Laravel:
👉🏼 Eloquent.
#laravelcoreadventures
🧙♂️ 5 years from now I want to:
🔰 still have my 1-man business
🔰 earn 80% from products/teaching and 20% from freelancing (now 10/90)
🔰 have my own office/room
🔰 have my own podcast or be part of one
🔰 feel comfortable with live-streaming
What about you?
🧪
#PhpStorm
Tips & Tricks
#21
- Open in split mode
With PhpStorm 2020.3 you are able to open files directly in split mode. The shortcut works from within the sidebar, but also from the other windows like "recent files" which I really love.
PS: default shortcut is "shift+enter"