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#Octanegithub.com/michael-rubel/…
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. 🧹😄
🦠 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
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/…
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.
153 Followers 621 FollowingMachine Learning Practitioner . Team Lead. Enjoying web development since 98. PyTorch/Tensorflow • Laravel • ReactJS . Math enthusiast. Father of three!
577 Followers 1K FollowingI build systems that make money while I sleep since 13yo 🔥 Founder mode advocate👨💻 I work as an Eng. Manager at @LearnDashLMS
107 Followers 637 FollowingLeverage technology to solve problems and scale businesses | Senior Software Engineer | Full-Stack Developer | API Development | System Integrations
692 Followers 2K FollowingBuilding AI systems with Laravel
Integrate Python and AI with Laravel:
https://t.co/CqQi71Lzc0
AI Integration Consultant / Engineer
4.3M Followers 3 FollowingOpenAI’s mission is to ensure that artificial general intelligence benefits all of humanity. We’re hiring: https://t.co/dJGr6Lg202
7K Followers 2K FollowingThe JS to Laravel guy. 👋 Let's enjoy building things again. Developer Relations Engineer at @laravelphp. Educator and creator. Husband and girl dad × 2.
19K Followers 804 FollowingCo-Founder of @packagist / #ComposerPHP –
Head of Engineering at @TeamupCalendar
OSS Wishlist: https://t.co/CsTK7iAj1I
@seld.be on bsky
330 Followers 574 FollowingTech enthusiast, passionate about how the world works, how to translate it in sw and make a substantial impact in the process.
https://t.co/LkBY5vIS00
6K Followers 12 Following🥳️ Turning legacy PHP projects to joyful code
❤️️ Making @rectorphp to help all PHP devs automate boring work
https://t.co/APa8GWiYOR
8K Followers 34 FollowingOpen source durable execution system. Write code that’s fault tolerant, durable, and simple. Used by @stripe @netflix @datadoghq @snapchat and many others.
10K Followers 509 FollowingFull stack web developer and author using @php @laravel @vuejs @docker. Staff writer at @laravelnews. Golfer and NBA fanatic.
254 Followers 179 FollowingAutomate and manage complex processes, financial transactions, data pipelines, microservices, job tracking, user signup flows and more!
11K Followers 375 Following- Unsatisfied with the status quo - Event Sourcing - Erlang/Elixir - Linux - Game Dev - Builds payment systems - https://t.co/kR8tYPBir3
10K Followers 6 FollowingModernizing legacy and speaking at conferences. Open for work.
Mastodon: https://t.co/5KOV4HoCAA
Bluesky: https://t.co/GSbiATSI0N
5K Followers 1K FollowingFriendly Hacker, Speaker, and PHP & Laravel Security Specialist.🕵️ I write https://t.co/aAATy2Ho9m and hack stuff on stage for fun. 😈 (he/him)
24K Followers 300 FollowingThe Database Guy. I am helping you get better with MySQL and PostgreSQL.
⚡️ https://t.co/WwHTfJFoA5
📝 https://t.co/zJpXKSTKve
🛠️ @stackbricksapp
2K Followers 6 FollowingMake your Laravel code cleaner, faster, and safer.
Follow & enable notifications to get the latest tips.
Content by @archtechx. DM to submit tips.
120 Followers 473 FollowingProgramming: from Basic to Delphi to PHP (Laravel)
Main maintainer of the Polish edition of the ProGit book (https://t.co/mYTJ5JJhfC)
59K Followers 412 Following~20 yrs in web-dev, now mostly Laravel.
My Laravel courses: https://t.co/HRUAJdMRZL
My Youtube channel: https://t.co/qPQAkaov2F
65K Followers 507 FollowingPHP developer at @spatie_be, built @getmailcoach, https://t.co/IRUtuG0FwZ, @ohdearapp and @flareappio, blogging at https://t.co/a3spVy88VN, organising @fullstackeu