Andrea Marco Sartori (@cerbero90) header
Andrea Marco Sartori (@cerbero90) profile picture

Software architect 📐 Open-source enthusiast 🌈 Sponsor: https://nitter.cf/t.co/4fYf6ZlT0G 💞

All around the world 🌏
Joined November 2009
Photo by Andrea Marco Sartori (@cerbero90)Photo by Andrea Marco Sartori (@cerbero90)Photo by Andrea Marco Sartori (@cerbero90)Photo by Andrea Marco Sartori (@cerbero90)Photo by Andrea Marco Sartori (@cerbero90)Photo by Andrea Marco Sartori (@cerbero90)Photo by Andrea Marco Sartori (@cerbero90)Photo by Andrea Marco Sartori (@cerbero90)Photo by Andrea Marco Sartori (@cerbero90)Photo by Andrea Marco Sartori (@cerbero90)
📯 Finally released JSON Parser, a framework-agnostic #PHP package that can parse JSON of any dimension and from any source in a memory-efficient way It also provides pointers to extract only the necessary sub-trees instead of reading all the JSON 🎯 github.com/cerbero90/json-pa…
6
55
4
291
32,484
PHP 8.1 enabled cooperative multitasking thanks to Fibers 🔀 In this example, we overlap two tasks lasting 5 seconds each by running fibers concurrently. This script completes in 5 seconds instead of 10 ⚡️
4
21
165
25,319
PHP 8.4 comes with a handy class to easily deal with floating-point numbers. It offers: - maximum precision - OOP approach - immutable objects - fluent operations It's part of the BCMath extension, commonly enabled by default 🧮
3
22
4
250
24,754
PHP 8.4 comes with a handy class to easily deal with floating-point numbers, it offers: - maximum precision - OOP approach - immutable objects - fluent operations It's part of the BCMath extension, commonly enabled by default 🧮
20
1
158
6,570
📯 Released Laravel Enum! - all features of the package Enum 🎲, plus: - autowiring meta - castable cases collection - magic translations - encapsulation of cache and session - Artisan commands to create, annotate and convert enums into TypeScript github.com/cerbero90/laravel…
7
6,440
📯 Released Laravel Enum! - all features of the package Enum 🎲, plus: - autowiring meta - castable cases collection - magic translations - encapsulation of cache and session - Artisan commands to create, annotate and convert enums into TypeScript github.com/cerbero90/laravel…
1
1
552
Currently working on a Laravel package to give superpowers to our enums! If interested, here is a sneak peek: github.com/cerbero90/laravel… Feedback and ideas are very welcome!
1
429
📯 Official release! Enum v2.3 offers console commands to: - create enums - annotate enums - sync backend and frontend enums Let's give superpowers to our enums in any PHP app! github.com/cerbero90/enum
1
3
1,147
Wanna keep in sync backend and frontend enums? Never been easier thanks to this console command! ./vendor/bin/enum ts More info: github.com/cerbero90/enum/tr…
12
8,101
Andrea Marco Sartori retweeted
If you are making great content about Laravel for the community and need a place to ship your projects, DM me your stuff. I will make sure you can be on Laravel Cloud. ☁️
27
40
5
438
30,775
Enum now allows us to create enums from the console 🦾 We can define its name, cases, if it's pure or backed and assign case values manually or automatically 🪄 All enums created from the console are also automatically annotated 🏄 More info: github.com/cerbero90/enum/tr…
4
3,919
Thanks to Enum we can now annotate enums magic methods, allowing IDEs to autocomplete them, with a simple console command: ./vendor/bin/enum annotate github.com/cerbero90/enum/tr…
895
One of the new features of Enum will be a console command to automatically annotate enums. 🗒️ Annotations allow IDEs to autocomplete even magic/dynamic methods. 🪄 Got an idea to make enums even more awesome? Please feel free to share! 💡 github.com/cerbero90/enum
2
808
Andrea Marco Sartori retweeted
I've worked on a proof of concept that allows you to add dumps and logs in your production Laravel apps – on the fly, no performance impact. Check out livedebug 🤯 Deployed on @laravelphp Cloud ☁️
45
42
9
374
36,311
Back from holidays and excited to add new exclusive features to the Enum package! 💝 Our enums - in any of our PHP project - are going to unleash their full potential! ⚡️ github.com/cerbero90/enum
1
109
Now it's possible to run PHP code on the official website! Here is an example with the array_map() function: php.net/manual/en/function.a… Great job! 👏🏻
Finally, interactive code examples on the @official_php website! Kudos to @s0yuka and @coopTilleuls 🫶 Please report any issues or suggestions on github.com/php/web-php/issue…
2
173
Now that the Artisan command to automatically annotate enums is fully tested, it's time to work on a cool new feature for Laravel Enum 🎇 github.com/cerbero90/laravel… #Laravel #PHP
1
160
With Laravel Enum we can now automatically annotate enums by running a simple Artisan command! This brings IDE autocompletion for all dynamic methods, including: - static case methods - meta methods - translations github.com/cerbero90/laravel… #Laravel #PHP
1
3
14
1,041