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.
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 property hooks are great until they are not.
It fathoms me how this big oversight got past stable.
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.
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. https://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
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. https://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
Reason #34556 I love final in libraries. #PHP8.4 introduced a new DOM extension that #LeagueCSV should use. If the class I need to update was final this would be straightforward and no-one would even notice. But because it is not, I have to perform some intellectual gymnastic to add support for modern DOM extension without BC breaking any "protected" methods to reduce BC on any class that extends the class.(which IMHO they should not have done in the first place). #OSS life
What is PSR-6? A Beginner’s Guide to PHP Caching Standards
Caching is an essential part of optimizing PHP applications, and PSR-6 is here to set the standard for it!
Discover how this caching standard works and how you can implement it to boost your project’s performance.
Read the full guide here: https://qirolab.com/posts/what-is-psr-6-a-beginners-guide-to-php-caching-standards
**#PHP8**.4 on @opensuse Tumbleweed:
Repo*: https://download.opensuse.org/repositories/devel:languages:php:php84/openSUSE_Factory/devel:languages:php:php84.repo
* "Home Repos" are not official. Use it at your own risk.
Honest question if a class is introduced in #PHP8.4 or later does it make sense to polyfill it before PHP8.1 nowadays
Another small library: abivia\colorspace for color conversion and manipulation. It will parse/generate CSS colors in RGBa and HSLa, convert between the two and do some other cool things.
#WebDevelopment #Localhost #DevelopmentServer
#PreviewServer #preview #HTTP #bash #scripting #php #php8 #crossplatform
Here is the ancient PHP thing I've been working on. It's really a mix of bash scripting to open the browser, then the PHP thing which takes the URL path and-- depending on the type of URL-- it converts it into a viable, clickable HTTP hyperlink.
Like so:
I think in this week release #phpmyadmin upcoming version with #PHP8.4 compatibility.
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.
http://statecollegeguitarlessons.com/adb/index.php
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! http://statecollegeguitarlessons.com/giterator/public/index.php
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!
Get a peek into the world of PHP releases and cybersecurity with @ericmann. Our latest podcast episode is live! https://www.phparch.com/podcast/community-corner-interview-with-eric-mann #PHP8 #CodingLife
With this release all my current maintained packages are #PHP8.4 compatible
Nouveau tutoriel Symfony 7 disponible !
Vous voulez afficher vos articles de blog avec style ? Dans cette vidéo, nous vous guidons pas à pas :
- Création d’un contrôleur pour afficher les articles.
- Mise en place d’une vue Twig élégante.
- Ajout de CSS pour un design responsive et attrayant.
Vous avez des questions ou des retours ? Discutez avec nous dans les commentaires ou rejoignez notre communauté.
Question is it worth if to release a new major version of a package that still target #PHP8.1 since PHP8.2 will soon enter security fix only ?
#unpopularopinion I know #PHP8.4 is out and I highly recommend new projects to start on it right away if possible BUT I don't feel compelled to drop PHP8.1 yet. None of my current or new packages would benefit for the new shiny stuff so much that dropping 8.1 would make sense. Am I wrong or am I missing something ?
PHP 8.4 is here! Dive into the key features: property hooks, simplified object creation, native array operations, HTML5 parsing, and more! Transform your code with less boilerplate & more power! #PHP8 #WebDev #Coding #PHP #programming #100DaysOfCode #freeCodeCamp #CodeNewbies
https://qirolab.com/posts/whats-new-in-php-84-key-enhancements-and-updates