41 questions from the last 7 days
Best practices
1 vote
3 replies
27 views
What is the license for reusing php.net code snippets from comments?
The php.net web site is full of comments showing code snippets/functions/small libraries. I was unable to find any mention on php.net regarding what license these snippets fall under, and a web ...
1 vote
0 answers
11 views
Show a success message after deletion from nova resource
<?php namespace App\Nova; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use Laravel\Nova\Actions\Action; use Laravel\Nova\Fields\ID; use Laravel\Nova\Http\Requests\NovaRequest; ...
0 votes
0 answers
37 views
How to add routes in laravel 12
Fresh new installation of Laravel 12 composer create-project --prefer-dist laravel/laravel api cd api composer update sudo chmod -R 775 storage sudo chown -R www-data:www-data storage sudo chmod -R ...
1 vote
1 answer
27 views
Impact of PHP_FCGI_MAX_REQUESTS with lighttpd 1.4.80 and php-cgi
I’m running lighttpd 1.4.80 with PHP via FastCGI (php-cgi, not php-fpm). The page Optimizing FastCGI performance says: there is a potential race condition during the PHP cleanup code in which PHP can ...
0 votes
0 answers
19 views
Why does Apple iCloud CalDAV always return 400/405 on PUT (creating events)? Is iCloud CalDAV write-protected?
I’m trying to create events on an iCloud Calendar using CalDAV. READ operations work: PROPFIND → OK REPORT (get events) → OK Authentication with app-specific password → OK But every PUT request (...
-1 votes
0 answers
39 views
VS code treats the address C://php.exe as h:/web/c:/php.exe
I installed the PHP Server extension for VS Code and added two lines to settings.json: "php.validate.executablePath": "С://php-server//php.exe", "phpserver.phpPath": &...
Tooling
0 votes
3 replies
44 views
laravel real time communication
I’m trying to implement a real-time notification system in my Laravel application. The frontend uses jQuery, and the backend uses Laravel’s broadcasting system with Reverb (also tried with Octane and ...
0 votes
0 answers
45 views
Wordpress capabilities - give Editor the ability to replace the Site Logo?
I've created a custom Wordpress role to extend the capabilities of the Editor role. I want to give users the ability to change the site appearance as needed without providing full admin rights. The ...
-1 votes
1 answer
31 views
Problem with module during dolibarr update
I tried to update dolibarr from 16.0.3 up to the current version 20.0.2. So far it succeeded, but I do have an error code when I want to use a custom module for time-tracking. To me it seems that ...
0 votes
0 answers
53 views
Vue/Laravel - CSRF token mismatch
on Vue-Laravel-based environment,CSRF token is initialized server-side -non-sanctum, one token per run-: routes/web.php Route::get('csrf-token' , function(){ $token = csrf_token(); return response()-...
1 vote
1 answer
38 views
Symfony/Doctrine: PostgreSQL Migration Issue – Undefined column error only in HTTP Kernel (CLI works)
Symfony/Doctrine: PostgreSQL Migration Issue – Undefined column error only in HTTP Kernel (CLI works) I'm working on a Symfony 7.3 project running on PHP 8.2. I recently migrated the database from ...
-3 votes
0 answers
36 views
Why isn't my custom font working with mPDF? [closed]
I already know the solution, but I thought I'd post it here in case anyone else has the same issue. My marketing department asked me to embed a custom font into my PDFs generated with mPDF. I followed ...
1 vote
1 answer
33 views
Elementor Repeater add item button text
Is there a way to change text in Add Item button for repeater? "Add Item" button text, Its a single button that adds new repeater item. I have muliple repeaters and I want each to have ...
5 votes
1 answer
63 views
CloudKit Web Services Server-to-server Authentication failed using PHP
I've been trying to get the server to server request for quite some time, but unfortunately I keep getting this error: 2025-11-19T03:19:29Z:"mybody":/database/1/"mycontainer"/...
1 vote
0 answers
86 views
My Laravel app with Herd is pretty fast, but with Wampserver and Laragon it's painfully slow [closed]
On my Macbook Pro M1 I get <100ms request durations using Laravel Herd. On my Windows computer I get ~150ms times with Laravel Herd. However with both Laragon and Wampserver I get whopping 650-...