Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Using Eloquent Outside of Laravel for Other PHP Apps. Source:
require "vendor/autoload.php";
use Illuminate\Database\Capsule\Manager as Capsule;
$capsule = new Capsule;
   "driver" => "mysql",
   "host" =>"",
   "database" => "acl",
   "username" => "root",
   "password" => ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.