Created
June 7, 2018 12:36
-
-
Save darkmavis1980/4b3833bade91c51b051e67279080840b to your computer and use it in GitHub Desktop.
Load packages with namespaces installed with Composer
This file contains hidden or 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 | |
require 'vendor/autoload.php'; | |
use Namespace\For\Your\Package\Classname; | |
$a = new Classname(); | |
$b = $a->someMethod(); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment