php-docker
scalar_objects
php-docker | scalar_objects | |
---|---|---|
76 | 22 | |
3,726 | 1,124 | |
1.0% | - | |
8.7 | 2.8 | |
6 days ago | 6 months ago | |
Shell | PHP | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
php-docker
-
An Internet of PHP
Yes, the apache[0] image will do what you want
[0] https://github.com/docker-library/php/blob/1c4b255f3e5ab610c...
-
Using named arguments in php8 and up
That's the first I've heard of it, and I like it! I can't tell you the number of trips to php.net to look at argument order for a function. Is it haystack/needle, or needle/haystack? Of course it could turn into the same thing w/ argument names (is it whole_name or full_name?), but I'm going to use it.
-
How to display results from multiple SQL queries in the same table cell?
Prepare to spend a fair bit of time reading and going back to phptherightway.com and php.net. I've also found this Tutorial from Envato Tuts+ to be quite good.
-
Beginner searching for set up resources
All I want to do with php is to have a recurring navbar on a website. I don't know what to do next. So far I've tried php.net's manual, w3scchool's tutorial and the set up part of first five recommended php tutorials on youtube. I have also spent hours on stackoverflow, which got me even more confused. The more I read, the less nothing makes sense to me and I don't know where the problem is.
-
date_format crashing on NULL values after upgrade to PHP 8.x
I tried looking at the upgrade from 7.4 to 8.0 docs on php.net but I don't see anything regarding any changes to this function. Any ideas?
-
Myra & php.net
Does anyone else have trouble getting into php.net without some human verification page popping up first?
-
php.net down??
I've gone to php.net probably thousands of times over 15 years and have never seen this. If I saw it, like this user did, I'd be curious.
-
How can I prevent my PHP file from being downloaded?
I would but cannot access php.net because of blue hardware
-
Are there any plans on making PHP 8 a normal apt repository?
Not necessarily, a docker image can build from source. In fact, the official PHP docker image is built from source. See https://github.com/docker-library/php/blob/master/8.2/alpine3.18/cli/Dockerfile
-
Hey guys! So I've been working with Java for a while now, but I've been offered a job with a PHP project. I don't have any experience with PHP, but I'm excited to learn. Do you have any tips or resources for someone making the switch? Thanks in advance!
. php.net is the official documentation
scalar_objects
-
What I always dreamed of PHP 😎 (IMPORTANT!)
I know there are such experiments, but it's unlikely to become a part of the language any time soon :(
- What is your #1 PHP feature request (part 2)
-
What is your #1 PHP feature request
Scalar objects has a prototype implementation since at least 2015: https://github.com/nikic/scalar_objects/issues/20
- Modern PHP features explained – PHP 8.0 and 8.1
-
Alternatives to Magic Methods?
For the love of god yes please yes this 1000x. I'd like to throw in scalar objects too.
-
Why does PHP not have object-oriented strings and arrays? Will it be added in a future version
Nikita Popov tried to solve the problem with this extension, but it never got wide support. The problem is that without users asking for this feature, Jetbrains and psalm/phpstan will not integrate it. But w/o their support, users cannot not even try the extension as everything will be shown as error.
-
Should PHP9 standardize naming conventions throughout the language?
These as it would remove the need to even care about the old function names which would exist for B/C purposes. We'd then be able to use primitive types as objects with functions to do all their manipulation as needed.
- Extension that adds support for method calls on primitive types in PHP
-
Which inconsistences of PHP annoy you the most?
It's been possible for quite a while but you have to enable a custom extension: https://github.com/nikic/scalar_objects and create an implementation of the class wrapper. I made one quite some time ago which is probably very incomplete: https://github.com/RikudouSage/scalar-objects.
- What third-party extension or library would you like to see included in php as default?
What are some alternatives?
homebrew-php - :beer: Homebrew tap for PHP 5.6 to 8.4. PHP 8.4 is built nightly.
Rector - Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
s6-overlay - s6 overlay for containers (includes execline, s6-linux-utils & a custom init)
RfcCodex - Notes on PHP RFCs, and topics that occur repeatedly on PHP internals
docker-php-nginx - Docker image with PHP-FPM 8.3 & Nginx 1.24 on Alpine Linux
varexporter - A powerful alternative to var_export(), which can export closures and objects without __set_state()
laravel-docker-production
pecl-php-operator - Operator overloading for Objects
react-pdf - 📄 Create PDF files using React
swow - Coroutine-based cross-platform concurrent I/O engine.
docker-php - 🐳 Production-ready Docker images for PHP. Optimized for Laravel, WordPress, and more!
ext-ds - An extension providing efficient data structures for PHP 7