Is this a standard way of coding php these days?
Name spaces are definitely nothing new. This technique exists in different programming languages partly already over 20 years.
In PHP it was introduced in 2009 with the version of PHP 5.3.0.
Also in recent years PHP itself has changed very much and is changing more and more with each new version. The new versions require ever stricter programming. On the other hand, they also offer many new possibilities that can make the programming itself easier and clearer. Unfortunately, WebsiteBaker is still away from the state of the art in terms of coding and it is urgently necessary to modernize essential parts in order to meet future requirements.
Also it is urgently necessary for programmers, to continue learning. To learn again and again with every new version.
Ultimately, Google will not be able to create your code, it only give hints in which direction you have to think. But you always have to program by yourself and you should understand
what you do.
Namespaces, however, are only a small part of the new techniques, requirements. To be prepared for all these changes, it makes perfect sense, always to be in the best possible accordance with the official standards of the PHP Framework Interop Group (PHP Standards Recommendations)
Some information about PSR you can find here: WebsiteBaker-Wiki Coding Standards
Find some basical informations about Namespaces here: https://en.wikipedia.org/wiki/Namespace
or detailed here: php.net/manual/namespaces