Using Composer is the way to go. But you don't have to setup a package with packagist or any of that stuff. Just use if for it's autoloader.
You can make a new folder anywhere you want. Call it "mystuff". Now, create a composer.json file with the following contents:
Code:
{
"autoload": {
"psr-4": {
"MyStuff\\": "mystuff/"
}
}
}
Then you can create classes with the MyStuff namespace and have Composer provide the autoloading.