Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP database framework (easy insert, edit, search...)? Something like phpMyAdmin

I'm trying to find some kind of PHP framework that allows me to do some "database oriented programming". I mean something like Clipper and MS Access (I never used them, just heard about, so I might be a bit off).

Basically, the idea is that I create a database with a table "customers", for instance, containing ID, Name, Address and Telephone. Then the framework would connect to this database and easily allow me to create a form with (some of) those fields, set which ones should be searchable (using AJAX? :)) and so on. That would take my job of doing the database insert/edit/listing/search functions, just leaving me with the relationship of the tables (maybe it can understand foreing keys for some other cool features) and logic.

I don't know if I'm asking too much, but I don't think that's very specific (ie, many programmers would like to start with something like that). It's something similar to what phpMyAdmin, but it would be to the end-user, not to the admin.

Thanks

like image 271
Luis Fernando Avatar asked Feb 22 '10 05:02

Luis Fernando


People also ask

What is better than phpMyAdmin?

We have compiled a list of solutions that reviewers voted as the best overall alternatives and competitors to phpMyAdmin, including Microsoft SQL Server, Toad For Oracle, SQL Developer, and DBeaver.

Is phpMyAdmin a framework?

phpMyAdmin is a free and open source administration tool for MySQL and MariaDB. As a portable web application written primarily in PHP, it has become one of the most popular MySQL administration tools, especially for web hosting services.

Is phpMyAdmin and MySQL same?

What is the difference between PHPMyAdmin and MySQL? MySQL is the database management system, or a database server. phpMyAdmin is the web application written primarily in PHP. It's used for managing MySQL database.

What is phpMyAdmin used for?

phpMyAdmin is a database management tool for MySQL compatible databases. The current version of phpMyAdmin, at the time of this recording, supports MySQL 5.5 or later. If you're using MySQL 5.0-5.4, you need to use phpMyAdmin 4.0. The current version of phpMyAdmin also supports MariaDB 5.5 or later.


2 Answers

You may try Medoo. It`s very easy to use and learn, and importantly it is super-lightweight with only around 100KB only.

  • Less than 100 KB, portable with only one file
  • Extremely easy to learn and use, friendly construction
  • Supports various common and complex SQL queries, data mapping, and prevent SQL injection
  • Supports all SQL databases, including MySQL, MSSQL, SQLite, MariaDB, PostgreSQL, Sybase, Oracle and more
  • Works well with every PHP frameworks, like Laravel, Codeigniter, Yii, Slim, and framework which supports singleton extension or composer
  • Free Under MIT license
like image 151
Angolao Avatar answered Nov 03 '22 04:11

Angolao


I know the symfony framework provides an "Admin generator", that generates some stuff like this -- not sure how close it is to what you're asking (it'll probably not do everything you need), but it might be a start.

For more informations, you can take a look at, for instance, day 12 of the jobeet tutorial.

like image 26
Pascal MARTIN Avatar answered Nov 03 '22 03:11

Pascal MARTIN