Pinned content
View all 3 collectionsPHP admins have deemed these posts noteworthy.
Start learning PHP — Useful resources for beginners and advanced
Common Mistakes to Avoid in PHP
Can you answer these questions?
View all unanswered questionsThese questions still don't have an answer
Progress bar display issue with setinterval
(2025) Fatal error: Uncaught Error: Call to undefined function pg_connect() with Apache Lounge, PHP and PostgreSQL
chmod() and utime error keep occurring in the site even after the permissions and ownerships are set
Hotmart - issues to send order via API from my website to hotmart
Laravel PATCH requests hanging when running on Sail
Recommended answers
View all recommended answersThese answers have been recommended
Pass data from setupShowOperation to blade in backpack laravel
You can simply use <div class="card"> <div class="card-body"> Total users: {{ $widget['data']['userCount'] }} </div> </div> if you need top level ...
Attribute Accessors not working after laravel app upgrade
In Laravel 9+, the old get---Attribute magic methods still work, but the new Attribute based accessors have a slightly different signature and behavior. In your case you have to use Illuminate\...
Filamentphp v3 hide RenderHook if sidebar is collapsed
You won't be able to prevent Filament from rendering your hook entirely on the server because collapsed is purely a client side. You can play with Alpine. or Try this # in app.css .sidebar-collapsed ....
PHP SoapClient using white spaces [duplicate]
You cannot stuff the attribute (a="123") into the array itself To bind the attribute use, 'MOAttributes' => [ 'gsm:setSubscription' => [ '@attributes' => [ 'a' => '...
Laravel API Testing index and show data fail at assertJsonStructure of Nested Json back-and- fort
The issue isn’t Laravel or PHPUnit. It’s your test. # for array of books 'data' => [ '*' => [ 'id', 'book_code', .... ] ] # single book object 'data' => [ ...
See what's trending
View all trending questionsThese are the most active questions in PHP Collective
How can I prevent SQL injection in PHP?
How do I check if a string contains a specific word?
Reference Guide: What does this symbol mean in PHP? (PHP Syntax)
How do I get a YouTube video thumbnail from the YouTube API?
Deleting an element from an array in PHP
Quick guide to Laravel package development
Properly removing API from Laravel project
How to trim (or non-breaking space) in PHP?
Evolution of Type Declarations in PHP
Start learning PHP — Useful resources for beginners and advanced
Simply submit a proposal, get it approved, and publish it.
See how the process works