
Michael Rubรฉl ๐บ๐ฆ
@michael_backend
Into software. "Our tech is more complicated than it should be."
๋ด๊ฐ ์ข์ํ ๋งํ ์ฝํ ์ธ
PHP teams are getting confused by the meaning of stateful applications in Laravel. It's not PHP-FPM anymore! I've compiled a list of things you might consider when using Laravel Octane. You can contribute if I'm missing something! ๐ค #PHP #Laravel #Octane github.com/michael-rubel/โฆ
This weekend I've updated my open-source packages to support Laravel 11. Enjoy upgrading the apps! ๐

Need a simple PHP web service installation? Did you know you can run your Laravel Octane application without Nginx at all? Configure it to listen on port 80 and let Cloudflare handle SSL termination and asset caching. โจ #php #laravel #octane

Working with a `parallel` extension for PHP. It allows you to spawn threads. I find it extremely useful for CLI apps, and I wish this extension got a broader adoption in the community. #php #programming #multithreading

Contributed a new `Vite::content()` method to Laravel. It allows you to pack your Vite assets directly into the webpage avoiding requests to the server. The method is available starting from Laravel v10.18.0. #laravel #php

Working on a new Laravel app using a hexagonal architecture with elements of DDD. The goal is to abstract the domain while keeping an Eloquent and almost default outer folder structure. When abstracted right, it feels much cleaner compared to the default-structure projects. ๐งน๐

I ran PHP 8.2 builds on all of my open-source packages this evening. Looks like they all have no issues after this upgrade! ๐ #PHP #Laravel

๐ฆ Introduced mutation testing into most of my open-source packages! This technique dramatically improves the quality of automated tests and helps improve the code. ๐ Using my packages, you have confidence they are high quality and don't contain BC breaks in minor releases.

Type-hint interfaces instead of the concrete models in your Laravel app with Route Model Binding. All you need is to set up a container binding for your model, and use `UrlRoutable` interface from `Illuminate/Contracts/Routing`. #Laravel #PHP

Laravel Value Objects package is now tagged as 2.0.0. Null params were dropped and basic validation of input was added. You can extend the classes and customize the validation in the way you need! For those, who don't want VO to fail, `makeOrNull` method was added. #Laravel #PHP

Made a new package for Laravel! This time it is a bunch of general-purpose value objects easily extendable with macros or inheritance. ๐ Give it a try: github.com/michael-rubel/โฆ #Laravel #PHP

Faking Laravel Policies in automated tests made a breeze with `method binding` and Laravel Enhanced Container package that improves DX when using this feature. #Laravel #PHP

Passed a wall of 10K contributions on GitHub. ๐ฅ Not sure I can go any further. ๐ #github #Laravel #PHP

Have you ever needed to bind many services to their interfaces in the Service Container? It can be automated easily! Working on a new version of the AutoBinder package for #Laravel ๐ ๏ธYou can help me by reviewing a draft PR: github.com/michael-rubel/โฆ

Created a package with a modified Laravel Pipeline class to add support for a DB transaction, and convenient `make`, `onFailure` methods. Try it out! ๐ github.com/michael-rubel/โฆ #PHP #Laravel

michael-rubel/livewire-best-practices: A dozen of Laravel Livewire Best Practices suggested by Michael Rubel who works with Livewire since 2019 github.com/michael-rubel/โฆ

This is a real-world example of the "method binding" feature usage to mock Stripe Charge in #Laravel #PHP

Did you know you can add methods to classes dynamically in #Laravel #PHP? Only you need is to add `Macroable` trait in the class you want to use macros. Some of Laravel's native classes are as well macroable.

My latest #Laravel #PHP package for dealing with coupon codes in a polymorphic way. github.com/michael-rubel/โฆ
github.com
GitHub - michael-rubel/laravel-couponables: Promocode functionality leveraging Eloquent polymorphic...
Promocode functionality leveraging Eloquent polymorphic relationships. - michael-rubel/laravel-couponables
Just added the banner to all of my open-source #Laravel packages! ๐บ๐ฆ โ
United States ํธ๋ ๋
- 1. No Kings 1.2M posts
- 2. Ole Miss 12.3K posts
- 3. Georgia 65.2K posts
- 4. #UFCVancouver 10.9K posts
- 5. Carnell Tate 6,120 posts
- 6. Brian Kelly 8,063 posts
- 7. Austin Hill N/A
- 8. Julian Sayin 2,736 posts
- 9. Vandy 13.3K posts
- 10. UNLV 2,375 posts
- 11. Shapen N/A
- 12. #GoDawgs 4,957 posts
- 13. Hammond 2,440 posts
- 14. Gunner 5,541 posts
- 15. Lane Kiffin 5,977 posts
- 16. Lawson Luckie N/A
- 17. Wisconsin 20.8K posts
- 18. Clemson 5,345 posts
- 19. Constitutional Republic 21.7K posts
- 20. Schumann 1,386 posts
๋ด๊ฐ ์ข์ํ ๋งํ ์ฝํ ์ธ
-
Zep Fietje
@zepfietje -
Zuzana ๐ฆ
@zuzana_kunckova -
Larastreamers
@larastreamers -
Luan Freitas
@luanfreitasdev -
Nico Verbruggen
@nicoverbruggen -
MadeWithLaravel
@MadeWithLaravel -
Bert De Swaef
@BurtDS -
Peter Fox
@SlyFireFox -
Oussama Sid
@sky_0xs -
Joel Clermont
@jclermont -
Larajobs
@laraveljobs -
Andrew Schmelyun
@aschmelyun -
Fabio Ivona
@FabioIvona -
Aaron Francis
@aarondfrancis -
Laravel News Links
@LaravelLinks
Something went wrong.
Something went wrong.