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

Software architect 📐 Open-source enthusiast 🌈 Sponsor: https://xitter.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,485
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,320
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
157
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
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
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
Excellent comparison between MySQL and SQLite by @jdlien 🗃️
I've been working with @aarondfrancis on a series of free blog posts about SQLite to complement the excellent High Performance SQLite course. The first covers the differences between SQLite and MySQL and when you might prefer one over the other: highperformancesqlite.com/ar…
1
146
Needed to find the first interface or parent class in common with a bunch of classes 👨‍👧‍👦 Quite edge case but funky enough to earn a share 🛸 #PHP
5
205