Laravel Handle multiple collumns that have a relationship with a model
So I have two models, A CharacterAppearance model (what a user is wearing) and a Item model (things user can wear) The i...
Latest news, tutorials, and updates from the PHP community
6993 articles available
So I have two models, A CharacterAppearance model (what a user is wearing) and a Item model (things user can wear) The i...
So I have two models, a CharacterAppearance model (what a user is wearing) and a Item model (things user can wear). The ...
I am missing some kind of best practice for implementation of PHP dependency injection and the PSR LoggerInterface. Curr...
I have an HTML / JavaScript chat web app using WebSockets. I have also built a simple Ubuntu Linux / Apache2 / PHP socke...
I have a small laravel project with posts and categories and a many to many relationship [Code Block] [Code Block] In my...
I upgraded a PHP 7 application to PHP 8. The following code was working before, but no longer: [Code Block] Now the call...
My server parses PHP even for .html files - I configured it this way because I think the .php extension is butt ugly. No...
I'm using the JsonFormatter of Monolog with this code: [Code Block] With this code, the log file would look like this: [...
After changing the user_nicename directly from the database or by using a dedicated plugin, the author pages of users wi...
Right now, when a logged in user is trying to go to guest only routes such as `/register` while he's already logged it, ...
I'm playing around with GnuCash, with a database stored on MySql. The goal is to display this data on a web page using P...
Recently I installed Linux Mint Debian Edition 7 over my old Debian 11. So far a good choice for me, but I can’t get my ...
Showing 553 to 564 of 6993 articles