What's the purpose of using a @method phpdoc annotation for an interface instead of a method signature
I'm looking at the code of Laravel Fortify. In the service provider, you can register Action classes to perform specific...
Latest news, tutorials, and updates from the PHP community
7001 articles available
I'm looking at the code of Laravel Fortify. In the service provider, you can register Action classes to perform specific...
Let's say we have a PHP script, thus: `/main.php`: [Code Block] `/path/to/header.php`: [Code Block] The code works absol...
I'm trying to replicate the `ab` stress tool (ApacheBench) in PHP to have more control depending on the content of the r...
I have a json with collections of data like these : [Code Block] I want to deserialize data into DTO class [Code Block] ...
I have a json with collections of data like these : [Code Block] I want to deserialize data into DTO class [Code Block] ...
Im trying to send a notification to slack using Laravel 12 but i keep getting an error. I have setup the Slack App and a...
My stack is nginx + php php-fpm + xDebug + PHPStorm I have put at the very beginning of my `index.php` [Code Block] and ...
I created a news slider and I'm not sure why I'm not able to show partial cards on the right without breaking the layout...
A form submission results in a json object [Code Block] I decode: [Code Block] Insert to the DB [Code Block] Then redire...
I'm trying to replace any full stop with whitespace after it before the next word with a line break. So far I have tried...
I am trying to write a PHP script that will connect to Sharepoint and be able to upload files to a certain team folder. ...
The problem is that I don't quite know how to do it correctly so that it doesn't look like a crutch, so to speak, I have...
Showing 1297 to 1308 of 7001 articles