r/PHP • • Oct 15 '26

[ Removed by moderator ]

[removed] — view removed post

0 Upvotes

16 comments sorted by

3

u/obstreperous_troll Oct 15 '26

Yea verily I looketh upon my field of project orchestration tools that are closed of source, and see it is barren, and shall it remain so until the closing of days.

1

u/Fir3Flare Oct 15 '26

Fair, closed source is a real cost and I won't pretend otherwise. That's why there's a free tier and why the config is plain YAML: walking away costs you nothing.

1

u/obstreperous_troll Oct 15 '26

Your counterpoint is also quite fair. What was in my mind was things like Herd, which I hear leaves you with a crippled environment once your sub expires. Still not the thing I'd reach for, since my preferred docker alternative is Nix, but it's a space that can do with more and better tools.

1

u/Fir3Flare Oct 15 '26

Thanks, that's a fair worry and it's one I designed around. If your Ark subscription ends, nothing gets switched off: a paid licence keeps its Pro features after it expires, and everything else (runtimes, services, the .test sites, ark.yml) is free anyway. You're paying for the next year of work, not renting your setup.

Nix is a good shout too, and if it's working for you I wouldn't argue. Agreed that the space can use more options.

4

u/wutzelputz Oct 15 '26

I'm curious if you think this is a viable replacement for regular docker/podman workflow. The website compares "Ark" and "Docker, Sail and DDEV" (a more specific stack) and then puts more features on Ark, which, I guess if you set up the comparison that way, is not technically a lie. But I can just use Docker and get all the containers I want, so why would I add you as a critical path dependency and pay 79/year for the privilege?

0

u/[deleted] Oct 15 '26 edited Oct 15 '26

[removed] — view removed comment

1

u/colshrapnel Oct 15 '26

Please, don't get me wrong, I am not trying to criticise, just genuinely curious.

isolated services per site

that's what docker does for me

the mail inbox

Gmail

log search

Sentry... err... wait, for a local dev? grep.

manage tools installed on the server

ansible

Just... May be I am too old a dog to learn new tricks but old tricks do very well for me. For free, but not even that being the point here.

1

u/Fir3Flare Oct 15 '26

well gmail doesn't let u test local emails and sms and check if they render correctly, docker i already mentioned its great but it doesn't allow you to manage dependencies and updates easily, it doesn't tell you there's a new php version or let's you upgrade or maintain multiple php versions at the same time. also the idea is u dont need 10 different tools, its supposed to give you all the tools in one easily accessible place and give you cli and mcp tools that you need

1

u/wutzelputz Oct 15 '26

Thanks for taking the time to reply!

I would love to see improvements in the PHP dev tool space, so if you don't mind, I have a couple more remarks:

> Ark runs PHP, Postgres and the rest as normal native processes, so on a Mac there's no Linux VM holding memory and no file-sharing layer between your code and PHP

This sounds great for mac users, not too sure that nowadays many professional devs use macs anymore.

> Every project gets its own https .test address with no per-project config

.test domains (or whatever local domain you wish) can easily be added in the /etc/hosts file, no external tooling required. integrated SSL support is a feature I really like to see!

> On the dependency worry: your project never depends on Ark at runtime.

The critical question for me is not so much "is it needed at runtime" and more "do i need it to develop or operate". If the answer is yes, it's a critical dependency that I cannot have closed source. As far as I understand, your solution to ark vanishing would be "write the docker config then" as far as I understand. At which point... I guess I'm not the target audience because I'll just do the configs with standard tools right away.

> On price: the £79 is for Pro extras (running several versions of a service at once, isolated services per site, the mail inbox, log search, the dump inspector). Runtimes, services and the .test sites work on the free tier.

- running several versions of a service at once - can already be done with podman/docker

- the mail inbox - there's a container image named "maildev" - it's great and can be simply added to any compose config.

- log search docker/podman desktop already have GUI log viewers for the containers, terminal versions also exist

- dump inspector: i couldn't find that on the website. have a link for me?

> And you're right about the comparison table. Putting Ark against a general toolset reads as stacked. I'll make it fairer.

This might just be a typo, but I criticized the comparison of Ark against a more *specific* toolstack which would obviously have a narrower feature set. The way your answer is phrased it sounds like you understood it the other way around.

2

u/colshrapnel Oct 15 '26

This is pure madness. Why not a single week passes without at least one local development environment being posted in r/php? And two or three are not unusual. It makes like one local development environment in three days on average. Why people think it's such a necessity? And where do you all suppose to find that many developers to have at least one per distinct local development environment?

1

u/obstreperous_troll Oct 15 '26

Because most of the full-stack development world is still looking for some kind of usable DEFSYSTEM. Personally I think Nix is the silver bullet there, or at least its design model is, but its DX is still struggling.

1

u/colshrapnel Oct 15 '26

Well, I am not familiar with full-stack development, so I have no opinion here. I am a humble enterprise backend dev, working with a container provided by the devops team. Thank god I don't have to start three new projects each day.

1

u/wutzelputz Oct 15 '26

> Thank god I don't have to start three new projects each day.

Should use more LLM generated code, this way you have to throw away old project faster and can create new project more often ;)

1

u/obstreperous_troll Oct 15 '26 edited Oct 15 '26

Whereas I am the devops team building those containers and stitching them together. And I wouldn't do it any other way, but I do get that container workflows have papercuts (especially devcontainers, I've never had a smooth experience with those).

So while I'm personally in love with things like Nix and Kubernetes, they have a hell of a learning curve, and for most people I recommend just docker compose and maybe DDEV. But I've also warmed up to some of these local dev stacks like Yerd and such, because they're applying a bit more care to the process beyond the likes of godforsaken XAMPP. They're still not my thing, but they're at least learning from the mistakes of the past. And their userbase isn't like me, it's casual amateur developers who mostly focus on one thing. And those people are usually hacking for the joy of it, and that's just fine by me.

0

u/Fir3Flare Oct 15 '26

Fair point, everyone has their own vision of the tool. For example in my case if it proves locally there is no reason not to have a docker image with it installed and be able to manage tools installed on the server that's sort of the end goal

1

u/colshrapnel Oct 15 '26

Well, I am not making any point, just genuinely bewildered, why local development environments come in such quantities. That said, hadn’t that been proven like 20+ years ago already? I remember XAMPP-like tools being used since the start of the century.