r/PHP

TypePHP now has non-interruptible audit report mode.
▲ 9 r/PHP

TypePHP now has non-interruptible audit report mode.

Hello r/PHP.. I'd like to share that TypePHP has now non-interruptable audit report mode and warning mode. Previously When you hit a type violation, TypePHP will halt the exeuction wih TypeErrors and causes scenarios where an App failed to boot during test because theres a type violation at the beggining of framework/library bootsraping.

Now you can have one pass audit mode to collect all TypeViolations in a structured JSON file instead of throwing so you can triage your codebase with more surgical fixes and eliminate docblock type lies that SA tool misses.

You can try this new feature now on the playground without installing anything..

Relevant docs: https://typephp-php.github.io/docs/core-concepts/violation-reporting

u/rc0604 — 5 days ago
▲ 0 r/PHP

I made my first lib and it’s for OPCache

Hey there!
Four years ago I change my path in IT.
From PHP developer, tech/team lead to Enterprise Architect where PHP i see only in internet 😹

Sometimes I miss the whole development flow and I make small project for monitoring and governance OPCache. I know lots of PHP devs that know OPCache from documentation but never use it or can’t understand it.

Yes my solution is use AI for coding but it’s also field for me to play and learn it. So yes I know it can be done better ;) but I have so much fun and learn new things.

In this project I also make something that I haven’t seen before. I read that Agents base on Readme.md, Agenta.md and code scanning. But it’s always in whole project context. So I made Readme_ai.md where I remove most humanredable things and made it for agents. I don’t know is this a good idea or over engineering but I like this idea ;)

https://github.com/V3sp/v3cache/

u/Excellent_Emu4519 — 5 days ago
▲ 0 r/PHP

Built a Laravel eCommerce System — Looking for Feedback

I recently worked on a Laravel-based eCommerce system with features like product management, categories, checkout, coupons, order management, admin dashboard and responsive frontend design.

Tech used:
Laravel, PHP, MySQL, HTML, CSS, JavaScript

I’m currently improving my portfolio and would appreciate feedback from other developers on what features or improvements I should add next.

I’m also open to freelance Laravel work including bug fixes, custom features, dashboards, APIs and eCommerce development.

reddit.com
u/Impressive-Repair486 — 5 days ago
▲ 196 r/PHP+3 crossposts

PHPStan 2.3: Leap in Performance, Generics Improvements, Detecting Unused Variables, and More!

PHPStan 2.3: Leap in Performance, Generics Improvements, Detecting Unused Variables, and More!

I had so much fun with the interactive charts and widgets, check out the article. I promise it's worth checking it out yourself, and not just letting your agent summarize it for you 😉 It contains a lot of interactive widgets with practical examples of the new features in action.

phpstan.org
u/OndrejMirtes — 9 days ago
▲ 3 r/PHP+1 crossposts

Maintenance update: win32service (PHP Windows Service extension) released 1.1.1-beta & 1.2.0-alpha — Need your feedback!

Hi everyone,

I'm the maintainer of the win32service extension (ext-win32service), which allows PHP applications to run and interact natively with Windows Services.

As Windows-focused PHP usage can sometimes feel like a niche inside the broader ecosystem, it's pretty hard to know who is actively using this extension in production or development.

We’ve just released two new versions for testing:

  • 1.1.1-beta
  • 1.2.0-alpha

How you can help:

  1. Test the new releases: If you run PHP on Windows background tasks, we'd love for you to try these pre-releases and report any issues or unexpected behaviors.
  2. Share your use case: I’m really curious to know how you're using it! Long-running background workers, queue consumers, IIS integrations, custom enterprise tools?

Discussion & Details on GitHub: https://github.com/orgs/win32service/discussions/128

Thanks to anyone taking the time to test or share feedback!

u/macintoshplus26 — 13 days ago