php-docker
Slim
php-docker | Slim | |
---|---|---|
76 | 46 | |
3,732 | 1,563 | |
1.0% | 0.1% | |
8.7 | 5.8 | |
9 days ago | 3 days 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
Slim
-
Top 12 PHP Frameworks For Web Development in 2024
Slim is a micro PHP framework used for web development with 11.7k stars and 2k forks on GitHub. It has a simple and intuitive API development process. It is a micro-framework, meaning you only get a minimum of support for HTTP requests and forwarding requests to appropriate controllers. So the question is, why should you choose a micro-framework? Because it offers you flexibility and high extensibility.
-
Handling CORS with Slim 4
Slim 4, a minimalistic PHP micro-framework, offers middleware support to easily add CORS headers. Middleware in Slim acts like a series of layers through which your app sends a request. One such layer can be responsible for adding CORS headers.
-
How to make implement "Single Entry Point" in PHP App?
SlimPHP 3 Skeleton app shows this as well: https://github.com/slimphp/Slim-Skeleton/blob/3.1.8/public/index.php
- Whole PHP or just PHP on Laravel
-
Just created a dependency-free lightweight HTTP router
How hard did you look? There are plenty out there. FastRoute, Phroute, based on FastRoute, with basic middleware, League/Route - routing with middleware, using FastRoute, PSR 7 & 15, Slim Framework, at it's core, it like League/Route, etc. None of these require a full framework to use.
- Laravel considered harmful
- I'm looking for a php framework
-
How to structure Slim/PHP-DI Project?
You can have the container call in a config folder with a file called dependencies or how ever you want. A few existing examples of this is here - Slim calls this app/dependencies in this skeleton project and Odan's Skeleton has this as config/container in their project.
-
Hey, html and php problems
Maybe use this if you don't like to dive into bigger frameworks: https://www.slimframework.com/
-
pinakamadaling matutunan na PHP framework?
Go for Slim: https://www.slimframework.com/
What are some alternatives?
homebrew-php - :beer: Homebrew tap for PHP 5.6 to 8.4. PHP 8.4 is built nightly.
Lumen - The Laravel Lumen Framework.
s6-overlay - s6 overlay for containers (includes execline, s6-linux-utils & a custom init)
Laravel - Laravel is a web application framework with expressive, elegant syntax. We’ve already laid the foundation for your next big idea — freeing you to create without sweating the small things.
docker-php-nginx - Docker image with PHP-FPM 8.3 & Nginx 1.24 on Alpine Linux
Silex
laravel-docker-production
Bullet PHP - A resource-oriented micro PHP framework
react-pdf - 📄 Create PDF files using React
Siler - ⚡ Flat-files and plain-old PHP functions rockin'on as a set of general purpose high-level abstractions.
docker-php - 🐳 Production-ready Docker images for PHP. Optimized for Laravel, WordPress, and more!
Proton