home.social

#php8 — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #php8, aggregated by home.social.

  1. The next one thing: Honestly... I can't remind now did I shared you something about my "Test in PHP" 🤔. But I think that even if it so, I'm sure that everyone already forgot about this 🙂. So!

    🏔️👉 codeberg.org/xolatgames/PHP-an

    This is my "tries" in PHP, those uses MariaDB 🦭 as a database for storing the data.

    It's just my "experiments", and everything that you can see on the repo's preview - ... is all 😅

    #php #php8 #maria #mariadb #nginx #linux #opensource #codeberg #phpfpm #leaderboard #sql

  2. The next one thing: Honestly... I can't remind now did I shared you something about my "Test in PHP" 🤔. But I think that even if it so, I'm sure that everyone already forgot about this 🙂. So!

    🏔️👉 codeberg.org/xolatgames/PHP-an

    This is my "tries" in PHP, those uses MariaDB 🦭 as a database for storing the data.

    It's just my "experiments", and everything that you can see on the repo's preview - ... is all 😅

    #php #php8 #maria #mariadb #nginx #linux #opensource #codeberg #phpfpm #leaderboard #sql

  3. 🤓 Get a peek into the world of PHP releases and cybersecurity with @ericmann. Our latest podcast episode is live! phparch.com/podcast/community- #PHP8 #CodingLife

  4. 🤓 Get a peek into the world of PHP releases and cybersecurity with @ericmann. Our latest podcast episode is live! phparch.com/podcast/community- #PHP8 #CodingLife

  5. 🤓 Get a peek into the world of PHP releases and cybersecurity with @ericmann. Our latest podcast episode is live! phparch.com/podcast/community- #PHP8 #CodingLife

  6. 🤓 Get a peek into the world of PHP releases and cybersecurity with @ericmann. Our latest podcast episode is live! phparch.com/podcast/community- #PHP8 #CodingLife

  7. 🤓 Get a peek into the world of PHP releases and cybersecurity with @ericmann. Our latest podcast episode is live! phparch.com/podcast/community- #PHP8 #CodingLife

  8. Here it is! GooseRSS! 🪿

    Turn YouTube channels into RSS feeds so you can watch videos outside of YT.

    And if you're into TV Shows and magnet links, that's supported too.

    github.com/adegans/gooseRSS

    #php #webdevelopment #php8 #selfhosted #rss #youtube #eztv #free #github

  9. 💩
    Why it fails

    Microsoft’s 5.12 drivers were built/tested for PHP 8.1–8.3 (officially). PHP 8.4/8.5 are not yet officially supported, and 8.5 introduces internal changes that break the current driver.

    no mssqlsrv for me in #php8.5 then :(

    #microsoft I will be reaching out

  10. 🤓 Get a peek into the world of PHP releases and cybersecurity with @ericmann. Our latest podcast episode is live! phparch.com/podcast/community- #PHP8 #CodingLife

  11. We are preparing for a #PHP8 migration. This is going to be fun*. We have 383,353 lines of potential mayhem.

    *not fun

    #php

  12. PHP DebugBar + REPL module for Mezzio Framework

    For real-time debugging, profiling, and experimenting with your app's internals.

    Built with:

    🔹 PHP DebugBar (php-debugbar/php-debugbar)
    🔹 Plates (thephpleague/plates)
    🔹 PsySH (bobthecow/psysh)]

    #PHP #Mezzio #DebugBar #REPL #Debugging #DeveloperTools #PHP8 #Frameworks

  13. 📊 Full observability: Log every state change, measure latency, generate audit trails
    🎨 #PHP8 features: String-backed enums for states/events, readonly value objects for context data
    🔄 Domain events pattern: Emit events to outbox, handle side effects idempotently with retries
    📋 Easy testing: Unit test state transitions without hitting database or network
    📈 Auto-documentation: Generate #Mermaid diagrams directly from your transition rules

  14. With PHP 8.5 we get Connection, DNS and SSL Sessions sharing across requests with cURL.

    I made a video showing how this works and discuss the performance potential youtube.com/watch?v=wr_Jnrc2has - a short @mnapoli cameo included

    #php #curl #php8 #php8_5

  15. Qualitativ hochwertige Programmierung gibt es nicht zum Discount-Preis, und ich mag auch nimmer. Bei mir gibt's durchdachte Qualität, und ich nehme mir auch die Zeit meine Arbeit zu testen und zu dokumentieren. Das kostet Zeit, und damit auch Geld. Wer das nicht möchte, bitte weiter gehen.

    #Entwicklung #PHP8 #developer #development

  16. My Laravel PR was shot down, but I may give it a chance later in the year to use Property Hooks as attribute cast.

    Why? I blindly guess that using Property Hooks are less computationally costly but also IDE friendly.

    #PHP #Laravel #PHP8 #PHP84 #Programming #Code #Coding #SoftwareDevelopment #WebDevelopment #WebDev

  17. I fully expect #Laravel to start deprecating the `Attribute` cast starting with Laravel 13.x.

    I have, quite literally, no argument to use Attribute casts over Property Hooks. Plus, because these are native, there is no overhead.

    #PHP #Programming #WebDevelopment #Technology #Code #Coding #SoftwareDevelopment #WebDev #PHP84 #PHP8

  18. Den Datenbanktreiber des #CMS #ConLite versuchsweise durch die #AdoDb ersetzt. Grundsätzlich läuft das, ein paar Anpassungen an der systemeigenen GenericDb waren notwendig. Jetzt steht ein ausführlicher Test an.

    #php #php8 #developer

  19. Don't miss phpday 2025!🥳
    The community is looking forward to joining Verona as soon as possible.
    Tickets for 22nd edition are selling quickly!

    Few early bird tickets are available.
    🐤 bit.ly/3PPceLi

    #API #REST #Architectures #ContinuousDelivery #Database #Development #Devops #Frameworks #Internals #PHP7 #PHP8 #conference #networking #community

    -----
    #phpday - The gathering for the European PHP community.
    📍 Verona (Italy) | 📅 May 15-16, 2025

  20. Don't miss phpday 2025!🥳
    The community is looking forward to joining Verona as soon as possible.
    Tickets for 22nd edition are selling quickly!

    Few early bird tickets are available.
    🐤 bit.ly/3PPceLi

    #API #REST #Architectures #ContinuousDelivery #Database #Development #Devops #Frameworks #Internals #PHP7 #PHP8 #conference #networking #community

    -----
    #phpday - The gathering for the European PHP community.
    📍 Verona (Italy) | 📅 May 15-16, 2025

  21. Yesterday i'm fixed some error in @slimphp starter-skeleton package 📦 and it is support #PHP8.4. can i upload my project on #github ?

    #slimphp
    #php84

  22. This is where I am w/ the github repo @zombiewarrior

    It's really close to being "right", so to speak.

    compare that to e.g.
    statecollegeguitarlessons.com/

    Note: my server is #LiteSpeed and i don'[t mess w/ it. But, that should not have the /public/ in the URL. If you've ever worked w/ #laravel it's like the ./index.php of the proj dir there. where there's ./index.php "reditrecting" to ./public/index.php
    but you need to mod the #NGINX server {} location {} stuff for the... mod_rewrite type stuff.
    i.e. the URL should be .com/giterator/ , accomplished in nginx w/ "@alias"
    (sans the ./public part). you see the same thing either way. pet peeves.

    EDIT: ALSO! CORRECTION -do NOT see the same! ARGGH! w/out that #mod_rewrite bit #htaccess whatever!~ the #CSS #asset paths mess up as well. Prob explains the missing SVG (masthead.php) forgot about that. oh well. hey. gimme a damn break! brain damage!
    SEE "new" version here, ( i can fix that path thing. i forget the quick path top of my head momentarily. i prefer to be correct instead, anyway!)
    this is NOT correct! statecollegeguitarlessons.com/

    first time w/ the #namespace #php8 #composer #autoloader #PSR4 #MVC #refactoring.

    i must admit, it was more challenging that i expected.

    but yea. feel free to hop in there at any time, and help me polish that old turd already!
    Sheesh!

  23. This is where I am w/ the github repo @zombiewarrior

    It's really close to being "right", so to speak.

    compare that to e.g.
    statecollegeguitarlessons.com/

    Note: my server is #LiteSpeed and i don'[t mess w/ it. But, that should not have the /public/ in the URL. If you've ever worked w/ #laravel it's like the ./index.php of the proj dir there. where there's ./index.php "reditrecting" to ./public/index.php
    but you need to mod the #NGINX server {} location {} stuff for the... mod_rewrite type stuff.
    i.e. the URL should be .com/giterator/ , accomplished in nginx w/ "@alias"
    (sans the ./public part). you see the same thing either way. pet peeves.

    EDIT: ALSO! CORRECTION -do NOT see the same! ARGGH! w/out that #mod_rewrite bit #htaccess whatever!~ the #CSS #asset paths mess up as well. Prob explains the missing SVG (masthead.php) forgot about that. oh well. hey. gimme a damn break! brain damage!
    SEE "new" version here, ( i can fix that path thing. i forget the quick path top of my head momentarily. i prefer to be correct instead, anyway!)
    this is NOT correct! statecollegeguitarlessons.com/

    first time w/ the #namespace #php8 #composer #autoloader #PSR4 #MVC #refactoring.

    i must admit, it was more challenging that i expected.

    but yea. feel free to hop in there at any time, and help me polish that old turd already!
    Sheesh!

  24. This is where I am w/ the github repo @zombiewarrior

    It's really close to being "right", so to speak.

    compare that to e.g.
    statecollegeguitarlessons.com/

    Note: my server is #LiteSpeed and i don'[t mess w/ it. But, that should not have the /public/ in the URL. If you've ever worked w/ #laravel it's like the ./index.php of the proj dir there. where there's ./index.php "reditrecting" to ./public/index.php
    but you need to mod the #NGINX server {} location {} stuff for the... mod_rewrite type stuff.
    i.e. the URL should be .com/giterator/ , accomplished in nginx w/ "@alias"
    (sans the ./public part). you see the same thing either way. pet peeves.

    EDIT: ALSO! CORRECTION -do NOT see the same! ARGGH! w/out that #mod_rewrite bit #htaccess whatever!~ the #CSS #asset paths mess up as well. Prob explains the missing SVG (masthead.php) forgot about that. oh well. hey. gimme a damn break! brain damage!
    SEE "new" version here, ( i can fix that path thing. i forget the quick path top of my head momentarily. i prefer to be correct instead, anyway!)
    this is NOT correct! statecollegeguitarlessons.com/

    first time w/ the #namespace #php8 #composer #autoloader #PSR4 #MVC #refactoring.

    i must admit, it was more challenging that i expected.

    but yea. feel free to hop in there at any time, and help me polish that old turd already!
    Sheesh!

  25. This is where I am w/ the github repo @zombiewarrior

    It's really close to being "right", so to speak.

    compare that to e.g.
    statecollegeguitarlessons.com/

    Note: my server is #LiteSpeed and i don'[t mess w/ it. But, that should not have the /public/ in the URL. If you've ever worked w/ #laravel it's like the ./index.php of the proj dir there. where there's ./index.php "reditrecting" to ./public/index.php
    but you need to mod the #NGINX server {} location {} stuff for the... mod_rewrite type stuff.
    i.e. the URL should be .com/giterator/ , accomplished in nginx w/ "@alias"
    (sans the ./public part). you see the same thing either way. pet peeves.

    EDIT: ALSO! CORRECTION -do NOT see the same! ARGGH! w/out that #mod_rewrite bit #htaccess whatever!~ the #CSS #asset paths mess up as well. Prob explains the missing SVG (masthead.php) forgot about that. oh well. hey. gimme a damn break! brain damage!
    SEE "new" version here, ( i can fix that path thing. i forget the quick path top of my head momentarily. i prefer to be correct instead, anyway!)
    this is NOT correct! statecollegeguitarlessons.com/

    first time w/ the #namespace #php8 #composer #autoloader #PSR4 #MVC #refactoring.

    i must admit, it was more challenging that i expected.

    but yea. feel free to hop in there at any time, and help me polish that old turd already!
    Sheesh!

  26. This is where I am w/ the github repo @zombiewarrior

    It's really close to being "right", so to speak.

    compare that to e.g.
    statecollegeguitarlessons.com/

    Note: my server is #LiteSpeed and i don'[t mess w/ it. But, that should not have the /public/ in the URL. If you've ever worked w/ #laravel it's like the ./index.php of the proj dir there. where there's ./index.php "reditrecting" to ./public/index.php
    but you need to mod the #NGINX server {} location {} stuff for the... mod_rewrite type stuff.
    i.e. the URL should be .com/giterator/ , accomplished in nginx w/ "@alias"
    (sans the ./public part). you see the same thing either way. pet peeves.

    EDIT: ALSO! CORRECTION -do NOT see the same! ARGGH! w/out that #mod_rewrite bit #htaccess whatever!~ the #CSS #asset paths mess up as well. Prob explains the missing SVG (masthead.php) forgot about that. oh well. hey. gimme a damn break! brain damage!
    SEE "new" version here, ( i can fix that path thing. i forget the quick path top of my head momentarily. i prefer to be correct instead, anyway!)
    this is NOT correct! statecollegeguitarlessons.com/

    first time w/ the #namespace #php8 #composer #autoloader #PSR4 #MVC #refactoring.

    i must admit, it was more challenging that i expected.

    but yea. feel free to hop in there at any time, and help me polish that old turd already!
    Sheesh!

  27. 🔐 #PHP8.4 Introduces Asymmetric Visibility for Properties:

    • Allows different read/write access levels for #PHP properties
    • New syntax: public private(set) for public read, private write access
    • 📊 9 possible visibility configurations, 3 are illegal
    • 🖊️ Applies to typed properties only, including static ones
    • 🔄 Backward compatible with existing symmetric visibilities
    • 🚫 Cannot be used with untyped properties

    #PHPDevelopment #OOP #Coding #SoftwareEngineering

    Key features:
    - Enhances encapsulation and access control in object-oriented programming
    - Provides more granular control over property access
    - Helps prevent unwanted modifications to properties

    Use cases:
    - Implementing read-only properties with internal write access
    - Creating properties that can be read publicly but modified only within the class

    Developers should refer to the RFC for detailed information on implementation and best practices.

    exakat.io/en/asymmetric-visibi

  28. Gestern die nächsten möglichen Schritte zum #OpenSource #CMS #CONTENIDO besprochen.

    Wir werden das Release der 4.10.2-dev vorbereiten.

    Auch suchen wir noch Tester, die den aktuellen develop-Branch auf Herz und Nieren unter #PHP8 testen.

    Lust? Zeit?

    #developer #development

    github.com/CONTENIDO/CONTENIDO

  29. So, i learned today that #PHP #php8 has deprecated strftime and #php9 plans to remove it. They officially say you should be using either date() or the intldateformatter suite instead.

    Like... what?

    strftime is ISO Standard! It's literally POSIX! The format flags are even "printf"-style!

    Not only that, but the proposed """replacements""" force you to choose between whatever variant of racism, classism and Americentrism you like!: date() works only in US English and only for numbers, whereas intldateformatter supports languages but requires users of any culture other than "US English" to load a whole PHP module.

    Oh, besides you have to change the format strings (woe betide if you are using user-provided!), ALSO these replacements *invert the logic* for processing the format strings as well: intldateformatter etc escapes everything that is *not* a format flag.

    Fortunately, forwardports already exist such as github.com/alphp/strftime/ .

  30. День 2

    Интенсивно учиться или повторять энергозатратно, только одних углеводов не достаточно. Через определённое время клонит в сон, голод наступает быстро.
    По учёбе кратко: в течение недели изучал теги и селекторы, в памяти остались только теги и немного о свойствах селекторов, да #css сложнее укладывается в голове, поэтому первая контрольная работа все ещё не пройдена...
    Отложил на время верстку, переключился на #php пока что ничего сложного, конспекты веду чтобы в памяти засел синтаксис, ну и краткое описание работы операторов, выражений тоже на всякий случай записываю, типа эссенция, выжимка, суть, чтобы легко вспомнить то, что забыл. Новое выражение #match появилось в #php8 похоже на #switch или #ifelseif но со своими особенностями.
    Скачал новый #openserver где есть версия #php8_3 благодарю всех разработчиков, которые работают над этим бесплатным инструментом (с ними можете ознакомиться на их официальном сайте). Надеюсь когда нибудь будет возможность запускать под #linux

  31. @yantor3d In my last job I had a task to upgrade #PHP from #PHP5 to #PHP8. I started adding type declarations and improving error handling.

    "No, no, no! we need to remove the in-house String and Integer types from existing code to avoid the conflicts so this code can run in both PHP 5 and PHP 8!"

  32. Ed entriamo finalmente nel vivo della seconda parte della serie di video su #PHP8 dedicata alla #programmazione orientata agli oggetti in cui vedremo nella pratica le #classi e gli #oggetti!
    #opensource #openeducation
    youtu.be/SvwFq0SG68I

  33. I've made a thing. A simple file caching system for #PHP 🐘.
    Nothing special, nothing new, there are probably many similar libraries around. But it works well and I use it in some of my own projects.
    #backend #php7 #php8 #opensource
    codeberg.org/amarok24/microcac