<?php
if (!class_exists('\Kibo\Phast\PhastServices')) {
    require_once __DIR__ . '/../vendor/autoload.php';
}
if (!defined('PHAST_CONFIG_FILE')) {
    define('PHAST_CONFIG_FILE', __DIR__ . '/config-user.php');
}

<?php
require_once __DIR__ . '/../vendor/autoload.php';
if (!defined('PHAST_CONFIG_FILE')) {
    define('PHAST_CONFIG_FILE', __DIR__ . '/config-user.php');
}

--- 
+++ 
@@ -1,5 +1,7 @@
 <?php
-require_once __DIR__ . '/../vendor/autoload.php';
+if (!class_exists('\Kibo\Phast\PhastServices')) {
+    require_once __DIR__ . '/../vendor/autoload.php';
+}
 if (!defined('PHAST_CONFIG_FILE')) {
     define('PHAST_CONFIG_FILE', __DIR__ . '/config-user.php');
 }
Allow using services.php, html-filters.php via Composer
