Ah ok, had to do this
use Illuminate\Database\Capsule\Manager as DB;
Check out https://github.com/Luracast/Laravel-Database it provides full eloquent support outside laravel including artisan migrations and more. It uses Capsule internally
Sign in to participate in this thread!