Laravel 5 Incude a non PSR-0 compliant Library via a Git Repo

76 Views Asked by At

I currently have a laravel 5 project I am working on. I would like to use the following library (https://github.com/jamesiarmes/php-ews) however my question pertains to any non PSR-0 compliant library.

I would like to clone the library down into my own git repo (for maintaining that library as well as my own) then in composer.json autoload via the classmap. My question is where is the most appropriate place to include the library?

Should I create a new libraries folder next to the vendor folder and ignore that particular folder in my .gitignore of my project then just maintain the two seperately or is there a better method with Laravel 5 to accomplish this? Any advice would be appreciated.

Note ** the library I mentioned above does have a forked version that can be autoloaded but it doesn't look to be as up to date and I don't have the time / resources to custom fork that lib at the moment.

0

There are 0 best solutions below