head.daveops.net

Snippets for yer computer needs

Composer

Composer homepage

Require a package

composer require repo/package

Will drop composer.json and composer.lock

Load vendor directory

<?php
require __DIR__ . '/vendor/autoload.php';