Pinned Tweet
📯 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…
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 ⚡️
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 🧮
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 🧮
📯 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
Andrea Marco Sartori retweeted
Enums have never been so powerful! ⚡️
github.com/cerbero90/enum
Discussions: discu.eu/q/https://github.co…
#php #programming
by @cerbero90
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
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. ☁️
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
Andrea Marco Sartori retweeted
🔗 Filament Crash-Course: Create a Customizable Admin Panel in Minutes
tighten.com/insights/filamen…
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 ☁️
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
One of the best aspects of open source is devs collaboration 💞
Enum now fully supports the new PHP 8.4 thanks to Chris53897 🏆
github.com/cerbero90/enum
#PHP #opensource
1
89
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













