In this lesson, you'll learn how to use Eloquent in a simple vanilla PHP environment. Luckily, it's pretty easy! For smaller projects that don't require the overhead of a full-stack framework, this method can be a great choice!
https://laracasts.com/lessons/how-to-use-eloquent-outside-of-laravel