mercredi 18 mai 2016

Composer PSR-4 Inconsistent Behaviour

I have set up a Laravel Facade pretty much exactly as I describe here. It works fine on my development machine (Windows 10, Apache 2.4, PHP 5.5)

But when I deploy to my server, I run into Class '(MYCLASS)' not found.

My autoload in ./composer.json:

"autoload": {
        "classmap": [
            "database"
        ],
        "psr-4": {
            "X2OJoinEval\\": "app/",
            "X2O\\": "X2O/"
        }
    }

As one would expect by it working on my development machine, my X2O directory is in my root folder...

The only difference is that on my production server I have a sym link pointing to the public directory...

I have no idea if I'm providing enough information so let me know and I can provide more



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1ssKHlF
via IFTTT

Aucun commentaire:

Enregistrer un commentaire