Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 2381

Joomla! 4.x Coding • Re: Using Composer on Joomla 4

$
0
0
What is Scoper? :laugh:
GitHub - humbug/php-scoper: Prefixes all PHP namespaces in a file ...
PHP-Scoper is a tool which essentially moves any body of code, including all dependencies such as vendor directories, to a new and distinct namespace. Goal PHP-Scoper's goal is to make sure that all code for a project lies in a distinct PHP namespace.

The Google API uses names that the main Joomla js uses, so Scoper, moving the entire Google API (that I've loaded), keeps it separate from Joomla and prevents interference. At least, that's the way it seems to me. 8)
It's a bit like the hand of God for js :D

Statistics: Posted by MarkRS — Wed Mar 27, 2024 11:09 am



Viewing all articles
Browse latest Browse all 2381

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>