← All commands
COMMAND

vendor

Vendor is a fundamental tool for modern PHP development

More Information

PHP packages installed via Vendor are automatically available to all domains/virtual hosts on your GoAdmio server

Syntax

vendor <vendor/package>

Examples

To install PHPMailer and make it available across all domains/virtual hosts on your GoAdmio server
$ /go/vendor phpmailer/phpmailer

Verification Test:
Create a PHP file in any domain:

<?php
require "vendor/autoload.php";

$mail = new PHPMailer\PHPMailer\PHPMailer();
if (class_exists('PHPMailer\PHPMailer\PHPMailer')) {
    echo "PHPMailer is working!";
} else {
    echo "PHPMailer not found";
}
?>

At Your Service

Our team is on hand 24/7 to not only solve technical issues, but to offer the guidance and technical support you need to succeed online. Give us a ring.

Chat Chat
GoAdmio
Company
© 2020 - 2026 GoAdmio Inc., all rights reserved.