0

I was having trouble getting the autoload working with Restler 3 RC4 and Amazon Web Services (AWS). Arul provided a fix which worked beautifully.

$loader = require_once 'vendor/autoload.php';
$loader->setUseIncludePath(true);
class_alias('Luracast\\Restler\\Restler', 'Restler');
jecz
  • 21
  • 1
  • 7

1 Answers1

0

Just to mark this question as answered I'm placing the answer which is part of the question back here

$loader = require_once 'vendor/autoload.php';
$loader->setUseIncludePath(true);
class_alias('Luracast\\Restler\\Restler', 'Restler');
Arul Kumaran
  • 983
  • 7
  • 23