SQLtoEloquent

SQLtoEloquent is an app that let's you convert SQL Statements into Laravel Eloquent Query Builders.

You can use the app here.

Sample

SQL Statement:

SELECT * FROM users WHERE age > 7;

Output:

DB::table("users")
->where("age", ">", "7")
->get();

Donate

Does this tool helped you in a way? You can help the developer too.

You can Donate any amount so he can maintain this tool and his future works.

Click here to donate.

Issues

Found bugs? Submit an issue here.