I've been coding for over 20 years now! (WOAH, do I feel old)
I've touched just about every resource imaginable under the Sun (too bad they were bought out by Oracle)
If you're interested in something a little more feature complete, I'd suggest checking out PUDL (PHP Universal Database Library). It contains connection manager (including clustering support), SQL query generation, data transformation, and tons more. It also has data sanitization built in, and works with countless databases engines (MySQL, MariaDB, SQL Server, PostgreSQL, and several more)
I've been coding for over 20 years now! (WOAH, do I feel old)
I've touched just about every resource imaginable under the Sun (too bad they were bought out by Oracle)
My goal when I built mine too was to create something "as small as possible", but over the course of a decade, needs continued to grow! hahahaaaa When it first started, it was a simple single file with just a couple of helper functions, no classes. Now its a beast that can handle tons of stuff!
I've been coding for over 20 years now! (WOAH, do I feel old)
I've touched just about every resource imaginable under the Sun (too bad they were bought out by Oracle)
If you're interested in something a little more feature complete, I'd suggest checking out PUDL (PHP Universal Database Library). It contains connection manager (including clustering support), SQL query generation, data transformation, and tons more. It also has data sanitization built in, and works with countless databases engines (MySQL, MariaDB, SQL Server, PostgreSQL, and several more)
github.com/darkain/pudl
That's a nice project! I decided to create my Query Builder as small as possible, but I didn't cover all the features in this post.
My goal when I built mine too was to create something "as small as possible", but over the course of a decade, needs continued to grow! hahahaaaa When it first started, it was a simple single file with just a couple of helper functions, no classes. Now its a beast that can handle tons of stuff!
@darkain would you like to share your beast brother?
You can find it here: pudl.dev/