Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root
- ├── src
- │ └── Vendor
- │ ├── Lib
- │ │ └── Class.php
- │ └── OtherLib
- │ └── OtherClass.php
- ├── composer.json
- └── index.php
- "autoload": {
- "psr-0": {
- "Vendor": "src/"
- }
- },
- namespace VendorLib;
- class Class
- {
- }
- include('vendor/autoload.php');
- use VendorLibClass;
- $c = new Class();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement