Hamid Semix (@hsemix) header
Hamid Semix (@hsemix) profile picture

A very Simple man with a complex profile.

Kampala, Uganda
Joined May 2011
Photo by Hamid Semix (@hsemix)Photo by Hamid Semix (@hsemix)Photo by Hamid Semix (@hsemix)Photo by Hamid Semix (@hsemix)Photo by Hamid Semix (@hsemix)Photo by Hamid Semix (@hsemix)
Meet Laravanced Wallet: a double-entry, multi-account wallet package for Laravel. Build transfers, fees, payment approvals, chargebacks, and scheduled installments on a reconcilable ledger with idempotency support and string-based money arithmetic. github.com/hsemix/laravanced…
2
22
Hamid Semix retweeted
PHP compiled by elephc just beat C. Well, naive C. 🐘 Official CI, string_concat: PHP 8.5: 86.7 ms C (strcat loop): 8.5 ms elephc: 5.9 ms strcat rescans the string on every call, O(n²). elephc reuses the buffer and grows it geometrically. macOS arm64, OPcache/JIT off.
16
32
5
230
20,794
This how it should be done
90
350
54
2,376
1,280,431
Hamid Semix retweeted
The Swoole team has open sourced TypePHP, a compiler that turns PHP source code into native machine code. I saw Albert Chen post about it on X, noting it landed earlier than the October release the project had planned. TypePHP is an Ahead-Of-Time (AOT) compiler that translates PHP source code into C++ and then into native machine code. Unlike a bytecode cache or a VM, it does not interpret opcodes at runtime: it generates optimized native binaries that run directly on the CPU. It keeps familiar PHP syntax and adds compile-time type information, so the compiler can emit fast, statically-typed C++ for hot paths. Dynamic PHP values, internal functions, reflection, and object metadata continue to interoperate with the Zend runtime through PHPX; user functions are not executed as Zend opcodes after they have been compiled. TypePHP is written entirely in PHP and is fully self-hosting: the tpc compiler binary is built by compiling the compiler's own PHP source code with TypePHP. The bootstrap chain is pure PHP — no C or C++ glue in the compiler itself.
4
7
3
67
5,233
Unexpected "plot twist" for Filament :)
🥵 Coming soon: Build Filament components with React / Vue / Svelte / your JavaScript framework of choice?! I started with just form fields to prove the concept as these can have complex interactions, it won't be difficult to allow widgets etc. to be build like this too!
1
4
81
8,474
Hamid Semix retweeted
🥵 Coming soon: Build Filament components with React / Vue / Svelte / your JavaScript framework of choice?! I started with just form fields to prove the concept as these can have complex interactions, it won't be difficult to allow widgets etc. to be build like this too!
26
35
7
236
36,361
Hamid Semix retweeted
lol ok so the creator of mago made whim: it's basically php but with generics, async/await, pattern matching, and more full video: youtu.be/U0xF6TecrjI?si=UOiK…
10
5
107
9,730
Hamid Semix retweeted
Surprise! TypePHP has gone open source earlier than planned 🎉 It was originally scheduled for October, but you can already find it on GitHub. Worth checking out if you’re interested! github.com/swoole/typephp #swoole #php #typephp
11
68
8
303
36,103
Hamid Semix retweeted
C is the fastest common-use programming language we have available It's the best at driving hardware #PHP is essentially a C wrapper, the scripting language for C So it can do anything C can do
9
16
2
96
3,759
Hamid Semix retweeted
PHP 8.6.0beta1 is out for testing - 60 changelog entries across 19 components. Run your apps and extensions against it and report regressions before GA. php-net.pro/news/php-8-6-0be…
14
24
5,510
PHP tip. Need to know if a class-string implements an interface, but you don't have an object yet? `instanceof` needs an instance. `is_subclass_of($class, SomeInterface::class)` works straight off the class name, handy when you only have a string like `'App\Foo'`.
3
8
39
2,858
Hamid Semix retweeted
I’ve just put NativeBin online, the first public, real-world test of Elephc 🐘 It’s a small webhook inspector written in PHP and compiled ahead of time into a native binary. No PHP interpreter, no PHP-FPM. Try it, stress it, break it: nativebin.elephc.cloud Experimental demo, don’t send production or sensitive data.
1
4
25
1,158
The idea of having something like Swift extensions coming to the next PHP 8.x release would be really cool! wiki.php.net/rfc/extension_m…
5
6
2
69
9,337
The ante has been upped By this time next year, we're going to be winning on all of these metrics Time to take another look at #PHP 👀
3
11
48
2,659
Hamid Semix retweeted
IT Work😂😂
101
514
55
4,216
632,815
Cool new PHP project! FFmpeg language bindings for PHP ext-ffmpeg.com/
3
9
147
7,981
Yesterday was one of those moments I’ll never forget. Over 100 people came to The Vibes’ first-ever in-person @nativephp event, where we officially launched NativePHP v4: SuperNative. 🚀 What started as an idea has grown into an incredible community of people who believe in making Laravel a first-class platform for native mobile development. Seeing so many of you in one room was both humbling and inspiring. To everyone who attended, contributed, supported us, or has been following the journey—thank you. We’re just getting started. #Laravel #PHP #NativePHP #SuperNative
14
13
2
144
4,710