Skip to main content
Stack Overflow
  1. About
  2. For Teams

PHP Collective

A collective where developers working with PHP can learn and connect about the open source scripting language.
1.5m Questions
+18
16.9k Members
+43
Contact

Pinned content

View all 3 collections

PHP admins have deemed these posts noteworthy.

Pinned
39 votes
9k views

Common Mistakes to Avoid in PHP

A list of real issues most beginners encounter when using PHP.
Sasha's user avatar
Sasha
  • 101
Pinned
65 votes
7k views
2 minute read

Start learning PHP — Useful resources for beginners and advanced

Start learning PHP — Useful resources for beginners and advanced! If you're wondering where to start from learning the PHP language or needing some more knowledge to deep dive into the language, you ...
RB Projects's user avatar

Can you answer these questions?

View all unanswered questions

These questions still don't have an answer

0 votes
0 answers
20 views

Issue with OAuth flow when reinstalling app from Uninstalled tab

I have a custom Shopify app that installs correctly via the shop domain. The OAuth flow works as expected: the merchant enters shop domain in form in my app, then redirected to Shopify for approval, ...
0 votes
0 answers
60 views

Hubleto PHP framework fresh install fails with "Cannot redeclare class Hubleto\App\Community\Discussions\Extendibles\AppMenu"

Using Hubleto 0.25 with PHP 8.1 to 8.5, on Windows (also tested on Linux and Docker, same result), I am trying to create a new app: Initialize Hubleto: php hubleto init Create a new app: php hubleto ...
1 vote
0 answers
66 views

How does routing work in custom modules in Webtrees?

A Joomla installation and a Webtrees installation share the same domain (joomladomain/webtrees). I need to send HTTP requests to a custom module in Webtrees and I don't know how Webtrees handles ...
0 votes
0 answers
39 views

Cannot change fonts in MasterStudy Front-end Course Builder

I’m trying to change fonts in MasterStudy LMS Front-end Course Builder (/user-account/edit-course/), but nothing works. The main website fonts are overridden successfully via child theme, however ...
0 votes
0 answers
56 views

Varnish Error 503 VCL failed when url path ends with %

My website gives a Error 503 VCL failed when url ends with % I have tried to disable cache, and also tried redirect, in .htaccess but without success. Here's my current .htaccess-configuration: <...

Learn something new
These are the most recent articles in PHP Collective
3 votes
545 views
9 minute read

Quick guide to Laravel package development

Contents Introduction Types of packages Characteristics of a package The Laravel package! Components of a Laravel package Example of a Laravel package Creating your Laravel package 1- Package ...
3 votes
1k views
2 minute read

Properly removing API from Laravel project

Sometimes a development team may decide to remove all API functionality from a Laravel project for various reasons, such as: No longer needing any API, and shifting focus to web application with ...
13 votes
3k views
1 minute read

How to trim &nbsp; (or non-breaking space) in PHP?

The main problem is the way trim() function works. One cannot reliably trim a substring using this function, because it takes its second argument as a collection of characters, each of which would be ...
Your Common Sense's user avatar
25 votes
57k views
3 minute read

Evolution of Type Declarations in PHP

Introduction: PHP, being a dynamically typed language, traditionally allowed flexibility in variable types, providing both advantages and challenges in code maintenance and robustness. However, with ...
65 votes
7k views
2 minute read

Start learning PHP — Useful resources for beginners and advanced

Start learning PHP — Useful resources for beginners and advanced! If you're wondering where to start from learning the PHP language or needing some more knowledge to deep dive into the language, you ...
RB Projects's user avatar

AltStyle によって変換されたページ (->オリジナル) /