<?php
	$autoloadFile = 'vendor/autoload.php';

	if( !file_exists( $autoloadFile ) ){
		throw new Exception( 'Install the composer http://getcomposer.org' );
	}

	require_once $autoloadFile;
<?php
	require_once 'vendor/autoload.php';
--- 
+++ 
@@ -1,2 +1,8 @@
 <?php
-	require_once 'vendor/autoload.php';
+	$autoloadFile = 'vendor/autoload.php';
+
+	if( !file_exists( $autoloadFile ) ){
+		throw new Exception( 'Install the composer http://getcomposer.org' );
+	}
+
+	require_once $autoloadFile;
Add exception case composer is not installed
