ManuGlez  (@_ManuelGL_) header
ManuGlez  (@_ManuelGL_) profile picture

Father of two girls, full stack developer,Laravel lover and eternal learner.

España
Joined April 2011
Photo by ManuGlez  (@_ManuelGL_)Photo by ManuGlez  (@_ManuelGL_)Photo by ManuGlez  (@_ManuelGL_)Photo by ManuGlez  (@_ManuelGL_)Photo by ManuGlez  (@_ManuelGL_)Photo by ManuGlez  (@_ManuelGL_)Photo by ManuGlez  (@_ManuelGL_)Photo by ManuGlez  (@_ManuelGL_)Photo by ManuGlez  (@_ManuelGL_)Photo by ManuGlez  (@_ManuelGL_)
Europe - why innovate when you can regulate 🤡
30
11
1
160
15,170
I've worked with Laravel for 10 years. I've come up with 5 pretty random lessons from those 10 years. - - - - - - 1. Laravel became a full-stack framework. So should we. I'm a core PHP back-end dev, and that's what I enjoyed with Laravel. But then we had Vue, Inertia, TALL-stack, and now it's a mix. That shift to full-stack happened gradually, and then suddenly. But it reflects the market: everyone these days needs to be a full-stack, at least on some level. - - - - - - 2. You can structure your projects however YOU want. Laravel allows you a lot of freedom. Services, Actions, Repositories, Jobs, custom PHP classes, more strict design patterns - whatever you want. It's a blessing and a curse: newcomers are often lost what is the RIGHT WAY. And there isn't one right way. This comes with a caveat: the right way depends on the context of your project and the guidelines of the company you're working with. So whichever structure you choose, the goal is for others to understand it and maintain the project. - - - - - - 3. Most performance problems will be with DB. Whenever I see some page/API loading slowly, I check the Debugbar/Telescope first for the amount of queries. Then I check for individual slow queries. Then for the amount of RAM that the queries take: maybe they return too much data? So yeah, all of that Eloquent before any fancy restructuring, Octane or other optimization. - - - - - - 4. Rely on framework. Packages come and go. After 10 years with Laravel, I see so many packages abandoned or just not keeping up with the framework changes. So, I advice to trust only the packages that are: 1. Either from trusted creators who have reputation of maintaining things 2. Or, small enough so you would easily replace them in the future And quite often, framework itself has a very similar functionality as the package offers. Of course, packages are often a way to deliver project v1.0 faster. But, with every package, know the consequences for your v2.0 of your project. - - - - - - 5. Writing tests is NOT hard. Laravel team and especially Nuno Maduro went above and beyond so any developer would be able to start writing tests QUICKLY. So, if you are in a camp of "I don't have time to write tests", it's a lame excuse now. Heck, you can even generate tests with AI. - - - - - - Any other "global" lessons/advice from working with Laravel you would add?
8
25
128
7,701
ManuGlez  retweeted
If you'd rather watch this video on Youtube, we just uploaded it there as well. youtube.com/watch?v=-ezOz6vP…
I'm working on a Laracasts video today that will make 50% of you go...
20
10
4
87
25,994
The State Of Laravel 2024 survey has started! You can now participate to identify how the ecosystem changed over the past 12 months! Please RT for reach ❤️ stateoflaravel.com/?ref=2024
25
173
21
182
47,892
3
52
4
229
16,988
Let's rally around Ryan and his family. One of the most positive people in the PHP community needs our support. ❤️
So.... I have incurable brain cancer and I'm asking for your love & support 💖
5
155
2
885
83,220
Hello @freekmurze, I am encountering a minor issue with the Ray App on Ubuntu. Each time I open and close the app, I need to reactivate the license. Do you have any suggestions? Thanks in advance and thanks for your contributions.
15
Laravel 11 is now available. ❤️ Laravel Reverb is now available. 📡 I love this release. Beautiful simplicity is back. Thank you for all of your support and we hope you use Laravel to build amazing applications. We can't wait to see what you do. blog.laravel.com/laravel-11-…
56
591
113
2,196
165,819
OMG
Laravel 11 is nearly 400 commits ahead of version 10.x. 🔥
30
ManuGlez  retweeted
🗓️ One month. 📼 One video per day. 👑 Everything you need to start building Laravel apps. 🙌 Free to all. Begins Tuesday, March 12th. laracasts.com
17
110
22
598
53,488
ManuGlez  retweeted
🤔 Have you installed `laravel-ray` as a dev dependency? 👀 Make sure to remove every `ray()` call in the code before deploying. Otherwise, your production application might break. 💡 An easy way to remove all calls is by running `php artisan ray:clean`.
3
11
62
6,230
The Js Facade is a really brilliant idea. A clean solution to pass data to Js without calling json_encode. @laravelphp 11 is coming soon.
23
ManuGlez  retweeted
Dude just destroyed the whole world of all software engineer’s dreams and beliefs 😆
152
110
68
2,637
666,549
Impecable, impecable .... 🫥
📽️ VÍDEO | "Es impecable desde el punto de vista inconstitucional": el desliz de Félix Bolaños tras registrar la Ley de Amnistía en el Congreso
1
8
Descubre nuevas sorpresas cada día en mi.com/es ¡No te pierdas el premio especial! ams.event.mi.com/es/sales202…
4
Is @laravelphp envoyer service down?
1
16
Service is up and running again.
5