'PHP Packages and Sub-Packages: What are they used for?
I've been using PHP for a few years now but I've never really used it for a large project, it's only usually little functionality upgrades I've given to websites.
I've just been given the task of developing a project in PHP and I've been looking at the code for some real world examples of my proposed bespoke system and they all start with @package or @subpackage
As I've said, I've never had a necessity for these on my small scale projects before and I would very much like to understand them more so I could use them to my advantage.
Solution 1:[1]
You define these @packages and @subpackages within the class docblock like this:
/**
* Class description
*
* @version 235
* @changed 09/02/1971
* @package Intranet
* @subpackage Client
* @author Micky Mouse
* @copyright © 1960 Disneyland
*
*/
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Eric Windmeier |
