Patchr allows you to version control your database changes, allowing a team to easily share and review database changes. Database version control is a very important process of modern web development, providing an accurate history of schema and data changes. Most modern framework offers some form of version control under the term & 8220;migrations& 8221; . Patchr uses a different approach, allowing you to commit raw SQL, more compatible with legacy system and easier to understand by any new dev coming onboard. Patchr is developed with deployment in mind, exposing a comprehensive CLI. Features ...

MySQLi Prepared Statements is a lightweight portable PHP class that will allow you to easily run prepared statements. Whether it& 8217;s SELECT, INSERT, UPDATE, DELETE, CREATE TABLE, REPLACE or any other MySQL query you want to run; this script will handle it. This script supports descriptive error handling, making debugging easier. Using the destruct magic method, automatically after an instance of the class is no longer needed, the MySQLi connection is closed and disconnected, freeing up resources. Check out the live demo to see the documentation. Connect to a database When instantiating ...