frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: PatchPub – Patch any PHP Composer dependency anyway you need

https://patchpub.com
1•dimitri-koenig•1d ago
Hi HN

I've build a composer-patches alternative, with witch I can change any file in any dependency used by Composer, and manage patches for multiple projects, all in one place.

My biggest pain points with the existing composer-patches packages are:

- They work only after a dependency is downloaded/extracted. So no way to change composer.json, for example to adapt the supported PHP version, or another package version, because it's fixed.

- They only support diff patches. I have to update patches anytime the diff doesn't work anymore. Sometimes I just need a simple search&replace, or replace a whole file.

- Sometimes a patch error gets lost in the whole stream of composer messages, when running "composer update". So I don't realize until later that a patch didn't apply.

- Managing same/similar patches across multiple projects and php versions and package versions is a big pain...

- I don't like to fork GitHub Repositories and patch there, and wait until the package core maintainer finally merges my PR (or not), and maintain my fork the whole time (or longer).

So I build my own solution, PatchPub, and already integrated it in production projects.

With PatchPub you can:

- Patch any file, anyway to you want (search&replace of strings, or using regex; replace file content; apply patch, import GitHub Pull Request)

- Manage patches and projects all in one place, which is really helpful with many projects.

- Get error notifications if a patch cannot be applied anymore, right after a new version of a package is released.

- Many more...

Feedback welcome on:

- Are there other game changer features you need to switch from other composer-patches plugins?

- Would you test or use PatchPub at all?

Thx in advance for any feedback...

Second ispace craft has probably crash-landed on Moon

https://www.nature.com/articles/d41586-025-01751-3
1•politelemon•2m ago•0 comments

The Automaker Wars No One Talks About

https://www.carsandhorsepower.com/featured/the-automaker-wars-no-one-talks-about-niche-competitions-in-weird-segments
1•Anumbia•3m ago•0 comments

How Anthropic teams use Claude Code [pdf]

https://www-cdn.anthropic.com/58284b19e702b49db9302d5b6f135ad8871e7658.pdf
1•ChrisArchitect•5m ago•0 comments

I Learned Rust in 24 Hours to Eat Free Pizza Morally

https://medium.com/@sebastiancarlos/i-learned-rust-in-24-hours-to-eat-free-pizza-morally-28ea8312e523
1•todsacerdoti•6m ago•0 comments

OpenAI CEO Sam Altman says AI is ready for entry-level jobs

https://fortune.com/2025/06/05/openai-ceo-sam-altman-ai-as-good-as-interns-entry-level-workers-gen-z-embrace-technology/
2•01-_-•9m ago•0 comments

Google confirms more ads on your paid YouTube Premium Lite soon

https://www.neowin.net/news/google-confirms-more-ads-on-your-paid-youtube-premium-lite-soon/
2•01-_-•11m ago•0 comments

Germany: Digital Minister wants open source etc. as guiding principle

https://www.heise.de/en/news/Digital-Minister-wants-open-standards-and-open-source-as-guiding-principle-10414632.html
2•donutloop•12m ago•0 comments

Musk says SpaceX will retire Dragon spacecraft amid bitter Trump dispute

https://www.theguardian.com/us-news/2025/jun/05/elon-musk-spacex-dragon-trump
1•rene_d•13m ago•0 comments

AI agents are turning Salesforce and SAP into rivals

https://www.economist.com/business/2025/06/05/ai-agents-are-turning-salesforce-and-sap-into-rivals
1•petethomas•14m ago•0 comments

Ask HN: Running AI agents in isolated environments

1•polycaster•15m ago•0 comments

Sir Demis Hassabis on the Future of Knowledge – Institute for Advanced Study [video]

https://www.youtube.com/watch?v=TgS0nFeYul8
1•goplayoutside•20m ago•0 comments

Launching a simple AI Image generator app as a 17 y/o

https://www.imagation.com
1•donvchu•21m ago•1 comments

Who wrote the Bible? A pioneering new algorithm may shatter scholarly certitude

https://www.timesofisrael.com/who-wrote-the-bible-a-pioneering-new-algorithm-may-shatter-scholarly-certitude/
3•names_are_hard•21m ago•1 comments

Copilot Chat now supports attaching references using the symbol

https://github.blog/changelog/2025-06-03-copilot-chat-now-supports-attaching-references-using-the-symbol/
1•e2e4•22m ago•0 comments

Volumetric deformable terrain using three.js/webgl

https://twitter.com/sea3dformat/status/1930493486639235581
1•ToJans•24m ago•0 comments

Twenty Years of TiddlyWiki (2024)

https://tiddlywiki.com/#History%20of%20TiddlyWiki:HelloThere%20%5B%5BQuick%20Start%5D%5D%20%5B%5BFind%20Out%20More%5D%5D%20%5B%5BHistory%20of%20TiddlyWiki%5D%5D%20%5B%5BTiddlyWiki%20on%20the%20Web%5D%5D%20%5B%5BTestimonials%20and%20Reviews%5D%5D%20GettingStarted%20Community
4•Tomte•25m ago•0 comments

Floss/Fund Backs the Future of Internet Security

https://openssl-foundation.org/post/2025-06-04-floss-fund/
1•vishnumohandas•28m ago•0 comments

Using 'Slop Forensics' to Determine Model Ancestry

https://www.dbreunig.com/2025/05/30/using-slop-forensics-to-determine-model-ancestry.html
2•iamflimflam1•31m ago•0 comments

Homeless but self taught full stack developer

3•crlapples•37m ago•3 comments

Crypto's New Bailout Fund: Your Savings Account

https://www.levernews.com/cryptos-new-bailout-fund-your-savings-account/
3•miles•38m ago•0 comments

Switch 2 rooted on day 1

https://bsky.app/profile/retr0.id/post/3lqtwrndzf22w
10•mdtrooper•44m ago•2 comments

Token Visualizer to analyze and optimize your LLM prompts for cost andefficiency

https://github.com/Mattbusel/Token-Visualizer
2•Shmungus•48m ago•1 comments

Destiny – iOS app that works with Magic Wormhole and Wormhole William

https://apps.apple.com/us/app/destiny-secure-file-transfer/id6444721954
3•rahimnathwani•48m ago•2 comments

Founding PM / Co-Founder for FilFlo (AI-Native Fulfilment SaaS)

https://filflo.in/
1•profvyas•50m ago•1 comments

Microsoft backed AI startup pretending to be AI filed for bankruptcy

https://www.windowscentral.com/microsoft/builder-ai-collapse-microsoft-backed-fake-ai-services
1•jayaprabhakar•53m ago•1 comments

Vibe Coding: Where it works and where it doesn't

https://sachin.devicion.com/blog/vibe-coding-where-it-works-and-where-it-does-not
1•sachin_rcz•1h ago•0 comments

Neuroscience How Much Energy Does It Take to Think?

https://www.quantamagazine.org/how-much-energy-does-it-take-to-think-20250604/
2•nsoonhui•1h ago•0 comments

Dix – Nix Derivation Diff

https://github.com/bloxx12/dix
1•RGBCube•1h ago•0 comments

WizWhisp – a local whisper GUI app for audio/video-to-text on Windows

https://apps.microsoft.com/detail/9pgq3h6jxl4c?hl=en-US&gl=US
1•logicflux•1h ago•0 comments

Timeline of Audio Formats

https://en.wikipedia.org/wiki/Timeline_of_audio_formats
2•exvi•1h ago•0 comments