adr-example
php-docker
adr-example | php-docker | |
---|---|---|
12 | 76 | |
63 | 3,726 | |
- | 1.0% | |
0.0 | 8.7 | |
over 6 years ago | 6 days ago | |
PHP | Shell | |
- | 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.
adr-example
-
Any good no framework PHP MYSQL web app in github, I can learn from?
Adding to the above link a full ADR Example - https://github.com/pmjones/adr-example
- Simplest PHP template ever. Password hashed PDO register and login. Just add Postgres DB info in .ini file or change the Singleton class for MySQL. User table should have "username" and "password" fields. Plus whatever else you want. simple_dom_html.php library included. PHP 7.4+
-
Is a framework necessary to create a PHP project?
Yes, as an example, the First Application's business logic (not that it's much) doesn't tie itself to the framework, as one example. Odan's Slim Skeleton, ADR Example (yes, I know you are the author), and the Aura Payload example class can be seen as other examples.
-
Starting new job - Need to hone my PHP Skills
ADR (as opposed to MVC) - direct link - example
- In-Template Response Building
-
How to move up to PHP 8 and Object Orientation?
https://github.com/pmjones/adr-example - Follow up example to the above. ADR is an alternative to MVC
-
advice for modernizing a legacy web app
More on ADR (like MVC) - https://github.com/pmjones/adr-example
-
I'm new to PHP OOP and looking for feedback on my proposed OOP design structure before I dive in a start coding it. Thanks!
Another option, to me and speaking to the OP as an alternative, it is simpler to add some Data Mappers/Repositories to abstract away the Database code. Good examples is the sample ADR application, Payload library example, Slim 3 First Application, or this Slim 4 Skeleton application
-
OOP Php, Noob needs help !
Simple example of a MVC/ADR (Action-Domain-Responder, similar to MVC) system - https://github.com/pmjones/adr-example
-
Controller common functions and composition over Inheritance
Call your class (which doesn't look like a controller anymore...), then, output it to your HTML or JSON renderer, based on the check. You can do this in a class (or 2 - look up ADR - https://github.com/pmjones/adr-example) or in the router.
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
What are some alternatives?
slim4-skeleton - A Slim 4 Skeleton
homebrew-php - :beer: Homebrew tap for PHP 5.6 to 8.4. PHP 8.4 is built nightly.
php-app - Barebones PHP app with PDO Singleton setup for Postgres. Register, Login, Index page. Simple cache and simple_html_dom library included. Add your own DB info.
s6-overlay - s6 overlay for containers (includes execline, s6-linux-utils & a custom init)
Aura.Payload - A Domain Payload implementation.
docker-php-nginx - Docker image with PHP-FPM 8.3 & Nginx 1.24 on Alpine Linux
phpframework - Example DIY PHP Framework
laravel-docker-production
technexus - Source code for technex.us - A simple blogging website written in Divergence
react-pdf - 📄 Create PDF files using React
skeleton - Standard PHP package skeleton.
docker-php - 🐳 Production-ready Docker images for PHP. Optimized for Laravel, WordPress, and more!