Skip to content

Instantly share code, notes, and snippets.

@antoniojps
Created June 13, 2017 21:50
Show Gist options
  • Save antoniojps/80441873479296168ada0ca6e5efcd07 to your computer and use it in GitHub Desktop.
Save antoniojps/80441873479296168ada0ca6e5efcd07 to your computer and use it in GitHub Desktop.
Composer Namespaces Autoload
namespace Bioliving\Database;
// Depois atualizar o composer.json com:
"autoload": {
"psr-4": {
"Bioliving\\": "src/config"
}
}
// Correr o comando:
composer dump-autoload -o
// Feito! Ver https://youtu.be/VGSerlMoIrY?t=515
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment