SHARE
TWEET

Untitled

a guest Jan 16th, 2019 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 1) Create your directory structure for your code (case sensitive)
  2. 2) Add autoload object to composer.json:
  3.  
  4. "autoload": {
  5.  
  6.         "psr-4": {
  7.             "Your-Namespace\\" : "your-dir/"
  8.         }
  9.     }
  10.    
  11.  3) update autoloader:  composer dump-autoload
  12.  
  13.  4) use your classes and namespaces.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top