Last active
December 10, 2015 22:08
-
-
Save JesseObrien/4499350 to your computer and use it in GitHub Desktop.
Describing how to namespace your files properly in composer.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php # /src/PackageName/Subfolder/OtherLib.php | |
namespace PackageName\Subfolder; | |
class OtherLib | |
{ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php # /src/PackageName/PackageClass.php | |
namespace PackageName; | |
class PackageClass | |
{ | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment