ManuGlez 

5.8K posts

ManuGlez  banner
ManuGlez 

ManuGlez 

@_ManuelGL_

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

España Katılım Nisan 2011
234 Takip Edilen243 Takipçiler
ManuGlez  retweetledi
Marcel Pociot 🧪
Marcel Pociot 🧪@marcelpociot·
Europe - why innovate when you can regulate 🤡
Marcel Pociot 🧪 tweet media
English
32
11
162
15.2K
ManuGlez  retweetledi
Povilas Korop | Laravel Courses Creator & Youtuber
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?
English
8
25
127
7.7K
ManuGlez  retweetledi
Tobias_Petry.sql
Tobias_Petry.sql@tobias_petry·
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
English
25
173
182
47.8K
ManuGlez  retweetledi
elhacker.NET
elhacker.NET@elhackernet·
elhacker.NET tweet media
ZXX
3
53
231
17K
ManuGlez 
ManuGlez @_ManuelGL_·
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.
English
0
0
0
14
ManuGlez  retweetledi
Taylor Otwell
Taylor Otwell@taylorotwell·
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-now…
English
56
595
2.2K
165.5K
Marcel Pociot 🧪
Marcel Pociot 🧪@marcelpociot·
See for yourself how easy it is to create a couple of services using Laravel Herd 1.5.0 ❤️
English
44
47
380
58K
Ash Allen 🚀
Ash Allen 🚀@AshAllenDesign·
In PHP, you can use the null coalesce assignment operator (??=) to assign a value to a variable if the variable is null! ⚡ I love using this wherever I can 😄 It's really handy for setting default values! Have you used this yourself?
Ash Allen 🚀 tweet media
English
10
64
357
19.2K
ManuGlez  retweetledi
Laracasts
Laracasts@laracasts·
🗓️ One month. 📼 One video per day. 👑 Everything you need to start building Laravel apps. 🙌 Free to all. Begins Tuesday, March 12th. laracasts.com
Laracasts tweet media
English
17
112
606
53.4K
ManuGlez  retweetledi
Spatie
Spatie@spatie_be·
🤔 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`.
Spatie tweet media
English
3
11
64
6.2K
ManuGlez 
ManuGlez @_ManuelGL_·
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.
ManuGlez  tweet media
English
0
0
0
23
ManuGlez  retweetledi
Tony Dinh
Tony Dinh@tdinh_me·
Dude just destroyed the whole world of all software engineer’s dreams and beliefs 😆
Tony Dinh tweet media
English
153
112
2.7K
666.4K