home.social

Search

493 results for “php”

  1. 📋 PHP XMLBeans is a port of Apache : an XML-Schema-to-PHP binding framework that compiles definitions into a type system and generates typed PHP classes

    ⚠️ It targets the usual pain with SimpleXML and DOMDocument: integers arrive as strings, missing required elements surface deep in business logic, and hand-written fromXml()/toXml() mapping classes drift out of sync with the schema
    🧵👇

  2. 🐘 8.6.0 RC3 was tagged on 8 October 2026, general availability is scheduled for 19 November 2026. One everyday language feature, a few small additions and a long list of tightened edges to test before upgrading.
    🧵👇

  3. A commit went into my CLI framework's root command a month before I noticed it. Someone else had to tell me.

    It gave the root command a signal-aware context: catch SIGINT, cancel, wind up properly. A good change. Trouble is, my service supervisor library had been catching SIGINT and SIGTERM itself, by default, for most of its life. Also a good decision, in a bare main.

    Go lets both happen. signal.Notify is additive, so a second registration doesn't replace the first, it just posts to both. No error, no warning. Two shutdown drivers, racing.

    The duplicated log lines were the least of it. The library publishes a contract: context.Cause(ctx) tells a service why it was stopped. With two handlers that became a coin flip, decided by whichever goroutine the scheduler fancied.

    The bit that smarted: two of my own downstream tools had already written the same workaround, with the same reasoning in the comments, independently. A third had been running both handlers the whole time.

    So the default went the other way round. NewController no longer installs a signal handler; you pass WithSignals() when the controller really is the outermost layer. Process-global state belongs to whoever is outermost, and a library can't know that's it.

    Also in the post: the cooperative-drain protocol I specced out and then binned after reading three call sites.

    phpboyscout.uk/the-library-tha

  4. Setup and Run #PHP 8.5 on Oracle Linux #VPS (with HTTPS + Reverse Proxy)

    This articles provides a guide to setup and run PHP 8.5 on Oracle Linux VPS with secure web server and reverse proxy configured.

    PHP 8.5 introduces powerful new language features including the Pipe Operator, URI extension, Clone-With syntax, new array helpers, safer attributes, and major performance ...
    Continued 👉 blog.radwebhosting.com/setup-a #reverseproxy #oraclelinux #selfhosting #selfhosted #phpfpm #opensource

  5. Functional programming isn't just for Haskell developers. It's for #PHP developers, too. "Thinking Functionally in PHP" is available from LeanPub.

    leanpub.com/thinking-functiona

  6. I did a quick look and based on my (rather successful) AI crawler mitigation measures I can confidently say that 79% of the @DProofreaders traffic is bots. Spread across millions of IPs.

    Thanks to those mitigations, all of that traffic is being detected by Apache and routed to a small static HTML page instead of hitting #php and incurring database and code overhead. The static page gives the user instructions on how to proceed if they aren't, in fact, a bot.

    79% though <sigh>

  7. Released: @roave /better-reflection 6.74.0

    github.com/Roave/BetterReflect

    This release drags in the upcoming #PHP 8.6 reflection API improvements, thanks to Kukulich

  8. Caching Composer dependencies in GitHub Actions is easy thanks to the lock file. But what about a tool like PHPStan that has no lock file to hash? #php #laravel masteringlaravel.io/daily/2026

  9. Using Partial Function Application to define stricter functions

    gpb.moe/blog/pfa-strict-fns.ht

    #php

  10. Як користуватися phpMyAdmin: вхід, створення бази і таблиць, SQL-запити, експорт та імпорт бази, окремі користувачі, приховування зайвих баз і безпека.

    ivaniura.org.ua/web/php-html-c

    #MySQL, #PHP, #phpMyAdmin

  11. CakePHP vs CodeIgniter: Which #PHP Framework is Best for Development?

    This article presents an in-depth comparison of two of the most popular PHP frameworks: #CakePHP vs CodeIgniter. After reading, you will have a better understanding of these two frameworks, including the features, strengths, and weaknesses of each. Both CakePHP and #CodeIgniter are popular with PHP developers, but which PHP framework is best for your next project? ...
    Continued 👉 blog.radwebhosting.com/cakephp #websitedevelopment

  12. Voting is open on the "Throw ValueError for invalid characters in number base functions" RFC until November 1.

    phpnews.net/rfcs/throw_error_f

    #php

  13. I never meant to run fourteen agent sessions on fourteen projects. The projects kept splitting into pieces, every piece wanted a session of its own, and one day I looked up and there they were.

    Fourteen is my dev server's limit. Mine is lower: fine up to about eight, hectic at ten, and at fourteen my head starts throbbing.

    Agents have made the doing cheap. What costs me now is the arriving. Every pane is a doorway, and when I walk in cold to a wall of text with the thing it needs from me buried in the middle, I quietly skip it. Then that project stalls for hours, sometimes days.

    So I spent the summer making the room readable from the door:

    • the verdict on the first line
    • what it needs from me on the last
    • numbers instead of adjectives
    • every reference with a label and a link, every time
    • decisions with names, not D1 and OQ3

    None of it makes a session any cleverer. I can now tell from the doorway whether a room is done, stuck or waiting on me.

    phpboyscout.uk/fourteen-projec

  14. 🚀 php-vitexsoftware-rbczpremiumapi v1.6.0 released!

    The Raiffeisenbank Premium API client for PHP now recognises bank-wide RB API outages and raises a dedicated OutageException. It also no longer crashes when a client certificate is terminated.

    github.com/VitexSoftware/php-v

    #PHP #Raiffeisenbank #OpenSource

  15. 11 years after the introduction of #php traits, and I've yet to see a valid use that doesn't open a can of worms.

  16. Setup and Run #PHP 8.5 on Oracle Linux #VPS (with HTTPS + Reverse Proxy)

    This articles provides a guide to setup and run PHP 8.5 on Oracle Linux VPS with secure web server and reverse proxy configured. ...
    Continued 👉 #selfhosted #phpfpm #reverseproxy #oraclelinux #selfhosting #opensource

    Setup and Run PHP 8.5 on Oracl...

  17. PHP: has properties
    Laravel: why use properties when you can use a combination of magic, phpdocs and casts() ?

  18. New article on my blog about a potential use case for #PHP's 8.6 PFA feature: gpb.moe/blog/pfa-strict-fns.ht

    Would you use this? Or is this just a curiosity?

  19. A validation rule keeps overly long passwords out of your forms. But if one ever slips past it, would you rather bcrypt truncate it quietly or fail loudly? #php #laravel masteringlaravel.io/daily/2026

  20. Signing releases sits on the list for years looking bigger than it is. Key management has a reputation.

    So skip that part for now. Spend ten minutes with a throwaway key on your own machine, where the worst outcome is deleting a directory afterwards.

    The walkthrough:

    → generate an RSA 4096 keypair with sigillum
    → sign a checksum manifest
    → verify it with gpg, an implementation that isn't the signer
    → tamper with the file and watch "Good signature" turn into "BAD signature"

    That last step is the point. A verification you have never seen fail is one you are taking on faith.

    It uses the local backend, a private key on disk. Fine for learning, emphatically wrong for a real release: production wants KMS, where the private half never leaves the service.

    Every command and output was run against v0.5.3 with GnuPG 2.4.4.

    phpboyscout.uk/a-good-signatur

  21. Got a PHP lesson, technical deep dive or demo worth sharing? 🎤

    The Dutch PHP Conference Call for Papers is open. Submit your talk idea for 2027: sessionize.com/dawn-conference

    #dpc27 #php #callforpapers

  22. Johannes Pichler presents 'Crafting Elegant APIs with Laravel' at Dutch PHP Conference. Watch the recording and pick up practical developer insights.

    🎥 phpconference.nl/session/craft

    #developers #programming

  23. Машинное обучение на PHP: Rubix ML 3.x – большое обновление экосистемы

    В PHP-экосистеме не так часто происходят заметные изменения в области машинного обучения. Пока основное внимание разработчиков сосредоточено на Python, PyTorch и больших языковых моделях, инструменты для ML на PHP продолжают развиваться, хотя и остаются нишевым направлением. Поэтому выход Rubix ML 3.x – важное событие для PHP-разработчиков, которые хотят использовать машинное обучение в своих проектах. Это не просто очередная версия библиотеки: обновление затронуло производительность, обучение нейросетей, обработку данных и возможности параллельных вычислений. Кроме того, у проекта появился официальный сайт с обзором возможностей библиотеки, документацией и примерами. Он помогает увидеть Rubix ML не как набор отдельных алгоритмов, а как полноценный инструментарий для всего цикла машинного обучения – от подготовки данных до применения обученной модели в production. Разберём, что изменилось и почему это интересно разработчикам, которые работают с PHP каждый день.

    habr.com/ru/articles/1095514/

    #php #machine_learning #машинное_обучение #phpразработка #isolation_forest #rubix_ml #ml_на_php #rubix_ml_30 #rubix_ml_31

Share on Mastodon

Enter the server where you have an account.