Sign in

Dan

@dantleech.bsky.social
95 followers 74 following 23 posts

Developing Phpactor language server, PHPBench, and other stuff. Working with #PHP, #Go, Typescript. Bad musician, not good at spelling. Learning #Rust painfully. Contractor! My opinions are yours unless otherwise stated. fosstodon.org/@dantleech

PostsRepliesMedia
Dan @dantleech.bsky.social · 23/02/2026
Made blog post for project structure make legacy code quick yo: www.dantleech.com/blog/2026/01...
dantleech.com
Space - the Final Straw
Many projects I see are organised in a way seemingly advocated by the frameworks they use. This approach is generally: src/ Command/ CleanOrdersCommand.php Controller/ PlaceOrderController.php Form/ S...
000
Reposted by Dan
🥧 asgrim 🇺🇦 @asgrim.dev · 23/07/2025
UK folks should sign this petition (which I know never makes a difference, because why would the government actually listen to people?) but worth a shot. Starting to see effects of this roll out and it's making me angry 🙄 petition.parliament.uk/petitions/72... #OSA #OnlineSafetyAct #UK #UKPolitics
petition.parliament.uk
Petition: Repeal the Online Safety Act
We want the Government to repeal the Online Safety act.
024
Reposted by Dan
Seifeddine / ⵙⵢⴼ 🐘 🦀 @carthage.software · 11/07/2025
The mago-analyzer PR is up! 🚀 It's still a work-in-progress before we merge, but all the details are inside. For the brave who wish to suffer, the code is available for your viewing pleasure. 🔗 github.com/carthage-sof... #php #rust #mago #staticanalysis 🐘🦀
github.com
feat: introduce codex, algebra, and analyzer by azjezz · Pull Request #230 · carthage-software/mago
This pull request introduces the new analyzer crate, along with its core dependencies: codex and algebra. This lays the foundational infrastructure for type analysis by defining the core data struc...
021
Dan @dantleech.bsky.social · 10/05/2025
I've been working on an DBGP (Xdebug) step-debugging TUI. It allows you to step forwards and backwards, shows inline values and has vim-like key bindings. This release includes a macos build. github.com/dantleech/de... #php #rust #xdebug
011
Reposted by Dan
Edorian @edorian.bsky.social · 07/05/2025
Oh look, my company's logo :)
092
Reposted by Dan
Matthieu Napoli @mnapoli.bsky.social · 21/03/2025
✦ Bref Cloud is live ✦ Modern PHP hosting should be simple: instantly scalable, redundant, monitored, and secure. Get the best of AWS and serverless with an intuitive dashboard and CLI. No need to become an AWS expert try it out ↓ bref.sh/cloud
bref.sh
Bref Cloud - Serverless PHP hosting on AWS Lambda - powerful, scalable, simple – Bref
Deploy PHP applications on AWS Lambda for unlimited scalability and enterprise-grade reliability. Get all the power of serverless without the complexity.
0219
Reposted by Dan
Matt Trask @matthewtrask.com · 15/03/2025
Why would I sign a contract and then ignore it? This feature seems odd, and not sure why so many people are voting yes. wiki.php.net/rfc/optional...
wiki.php.net
PHP: rfc:optional-interfaces
402
Reposted by Dan
The New York Times @nytimes.com · 13/03/2025
Meta won a legal victory on Wednesday against a former employee who published an explosive, tell-all memoir, as an arbitrator temporarily prohibited the author from promoting or further distributing copies.
nytimes.com
Meta Seeks to Block Further Sales of Ex-Employee’s Scathing Memoir
An arbitrator has prevented the employee from promoting her book and disparaging the company until private arbitration concludes.
8727487
Reposted by Dan
Phil Sturgeon 🌳🚵⚓️ @philsturgeon.com · 02/03/2025
I wouldn’t normally repost The Mail but… 🫡
1101
Reposted by Dan
VeeWee @veewee.bsky.social · 28/02/2025
Spent the day improving my workflow! Introducing the "wsdl inspect:ui" command which opens up a TUI to inspect what information we know about your WSDL. #php #soap
021
Dan @dantleech.bsky.social · 27/02/2025
Really enjoyed giving this workshop on building an Expression Language!
011
Reposted by Dan
Claes de Vreese @claesdevreese.bsky.social · 16/02/2025
As Vance 'lectures' Europe on free speech, it is good to be reminded that the United States ranks 55 (!) on the World Press Freedom Index. The top 10 countries are ALL in Europe. #journalism #democracy #freepress rsf.org/en/index
481935859
Dan @dantleech.bsky.social · 12/02/2025
Running the Portland Coastal Marathon: www.dantleech.com/blog/2025/02...
dantleech.com
Portland Coastal Marathon
I stopped running a week before the marathon in order to “train” for it in order to mitigate the various aches and pains that I was accumulating from over-training. Registration closed at 8:30 and my ...
000
Reposted by Dan
Akallabêth 🇺🇦 @akallabeth24.bsky.social · 08/02/2025
Oops 😬
9827686319215
Dan @dantleech.bsky.social · 31/01/2025
Looking forward to speaking about #PHP Value Obejcts and You 🫵 at DPC on the 21st of March!
030
Dan @dantleech.bsky.social · 19/01/2025
Create an expression langauge in #php or another #programming language in one our or more (or read in 5 minutes or less) with my patented* expression langauge recipe (blog post) with added Godzilla: www.dantleech.com/blog/2025/01...
dantleech.com
The One Hour Expression Language
This blog post is based on a talk I did entitled The One Hour Expression Language and aims to provide a review of both the concepts and the code in that talk1. An expression language2 in our sense is ...
122
Dan @dantleech.bsky.social · 30/12/2024
#PHP, DTOs, C-DTO, and You 🫵 a mildly opinionated blog post www.dantleech.com/blog/2024/12...
dantleech.com
PHP, DTOs, C-DTO and You 🫵
In my previous post I talked about Value Objects in this post I will talk about DTOs - Data Transfer Objects. As a disclaimer the contents of this blog post represents my current opinion and any abuse...
052
Reposted by Dan
Harry Eccles @harryeccles.bsky.social · 27/12/2024
I seem to have upset the Nigel Farage fan club - so let me be clear. This man sows hate, lies and division. He is a grifter and a conman. He does not represent the vast majority of Britons. Repost if you agree P.s. multiculturalism is great.
44875463553
Dan @dantleech.bsky.social · 28/12/2024
So the EU has decided to standardize all chargers to USB C. That's great. Meantime in Brexit:
110
Reposted by Dan
Shawn McCool @shawnmc.cool · 28/12/2024
I got tired of mocking frameworks in class-based languages, so I created the simplest, most compatible, and most powerful mocking library that I could imagine. It's great for PHP / Java and other class-based languages. github.com/ShawnMcCool/...
github.com
GitHub - ShawnMcCool/ultra-mock: A mocking framework for testing any class-based programming language.
A mocking framework for testing any class-based programming language. - ShawnMcCool/ultra-mock
3288
Reposted by Dan
🇺🇦 Anna Filina @afilina.bsky.social · 25/12/2024
As someone who deals with legal documents on a near-daily basis, this is accurate.
031
Dan @dantleech.bsky.social · 23/12/2024
My Year in the Year 2024 in Years: www.dantleech.com/blog/2024/12...
dantleech.com
The Year This Year of 2024
This is the year that was last year of the year, the year of the year, the best and worst year that was in the last year that was after the year before that. This is my story. Ownership Anxiety ¶ In J...
010
Reposted by Dan
Phil Sturgeon 🌳🚵⚓️ @philsturgeon.com · 20/12/2024
Food is a complicated topic, especially trying to balance nutrition with lower climate impacts and animal welfare, but I’ve taken a stab at explaining a bunch of it here with no nonsense or judgement. philsturgeon.com/unf-king-the...
philsturgeon.com
Unf**king the Climate - Part 2: Food
Talking about food gets loud and ideological, but we're going to have a judgement free chat about livestock, flexitarianism, veganism, and my favourite: the invasivore diet. Let's fix the planet a lit...
293
Reposted by Dan
John Breen @breen.tech · 12/12/2024
Go look up TIME’s 1938 Person of the Year
36213
Dan @dantleech.bsky.social · 10/12/2024
I don't like the whole "can't edit posts" feature on this platform. Editing posts is basically my thing.
100
Dan @dantleech.bsky.social · 07/12/2024
How is Zwift so popular given the subscription cost? I'd happily pay a one-off cost on Steam for a single player version, and I'm surprised there isn't an open-source cycling simulator. Even a 2d one would be pretty neat. I'd try and make one if I had the time.
110
Reposted by Dan
Dave Liddament @daveliddament.bsky.social · 01/12/2024
Want to learn about how to bring the power of generics to PHP? For the next 24 days I'll be releasing a video a day to cover all you need to know about generics in PHP and the tools required. Day 1 - Introduction: vimeo.com/1035029403
vimeo.com
PHP Generics Advent Day 1 - Introduction
This is "PHP Generics Advent Day 1 - Introduction" by Dave Liddament on Vimeo, the home for high quality videos and the people who love them.
073
Reposted by Dan
LucyLavend @lucylavend.bsky.social · 01/12/2024
The curse of being able to code is that every time I run into a small issue with a piece of software I want to write my own version from scratch
3648338
Reposted by Dan
Aken Roberts @akenroberts.com · 26/11/2024
Hey PHP devs, fun fact: the #️⃣ emoji starts a line comment!
<?php

#️⃣ This is a comment.

echo 'No syntax errors here!';
45019
Dan @dantleech.bsky.social · 28/11/2024
I keep hacking on my Rust Strava TUI. It's a glorious mess and it's great. github.com/dantleech/st...
010
Reposted by Dan
Mina Markham @minamarkh.am · 26/11/2024
stop putting AI in everything stop putting AI in everything stop putting AI in everything stop putting AI in everything stop putting AI in everything
521283381
Reposted by Dan
Elle @elleisanisland.bsky.social · 24/11/2024
my sister: why do you delete so many posts me: sometimes you don't know something's really stupid until you send it out into the world my mother: *staring at me just a beat too long*
655329700
Dan @dantleech.bsky.social · 25/11/2024
I wrote a new blog post: PHP, Value Objects and You 🫵 www.dantleech.com/blog/2024/11...
dantleech.com
PHP, Value Objects and You 🫵
What are value objects? And why are they useful. In this post I hope to explain what I mean by value object and let you see why they are one of the most powerful tools in our programming toolbox1 TL;D...
052
Dan @dantleech.bsky.social · 19/11/2024
Blogged about my PHPBench workflow: www.dantleech.com/blog/2024/09...
dantleech.com
Profiling with PHPBench and XDebug
At the time of writing this article I created PHPBench over 9 years ago, for the first 5 years I didn’t use it. Now I seem to be using PHPBench almost frequently at work and it might even be suggested...
021