Recommend this page to a friend! |
Download .zip |
Info | Documentation | Demos | View files (36) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2021-08-02 (1 month ago) | Not yet rated by the users | Total: 83 | All time: 9,704 This week: 204 |
Version | License | PHP version | Categories | |||
developbat 1.0 | Freely Distributable | 5 | HTML, PHP 5, Databases |
Description | Author | ||||||||
This package can show pages to manage table records using Bootstrap. |
|
What is this?
It is php crud class with Bootsrap and Datatable features. DevelopbatCrud alow you create, edit, delete, and listing your database tables easily. it also check table columns types and feature to figurout is it primary or nullable or is it enum to deside right action to edit and create or listing data. it listed table with relation if it defined and allow to multiple image upload also if its defined column . Its allow multi clomn seacrh and it allows the results to be saved as an excel or pdf.
How to start ?
you have to edit config.php to add your database credentials. to show all table $showTables = array(); // show all tables mode
or you can show specific tables if you add names in array
$showTables = [
['depo'],
['kontak']
]; //show only in array tables
Relation between tables :
you can related tables column each other with added them on aray as $relationTable. it can change the value showing table value as related value.
define showing table name like 'depo' define in 'depo' wich column will change as changedRow define second table related with first one as secondTable define second table related column with first one as secondRow define second table column will shown as first table findRow
in the end changedRow will be shown as findRow
$relationTable = [
'depo' => [
'changedRow' => "super_id",
'secondTable' => "members",
'secondRow' => "memberID",
'findRow' =>"username"
],
'gelir_gider' => [
'changedRow' => "uid",
'secondTable' => "members",
'secondRow' => "memberID",
'findRow' =>"username"
]
];
Image Upload defination :
define table name as key and column as value . this configuration will make selected column to allow image upload and it will store image links on it. $imageColums = [
'depo' => "images"
];
example link https://developbat.com/testcrud/
Files |
File | Role | Description | ||
---|---|---|---|---|
.idea (3 files) | ||||
class (2 files) | ||||
css (3 files) | ||||
js (13 files) | ||||
add_action.php | Aux. | Auxiliary script | ||
config.php | Example | Example script | ||
data_action.php | Example | Example script | ||
data_action_orj.php | Example | Example script | ||
footer.php | Aux. | Auxiliary script | ||
functions.php | Example | Example script | ||
header.php | Aux. | Auxiliary script | ||
index.php | Aux. | Auxiliary script | ||
killsession.php | Aux. | Auxiliary script | ||
README.md | Doc. | Documentation | ||
tables.php | Aux. | Auxiliary script | ||
table_fetch.php | Example | Example script | ||
test.php | Aux. | Auxiliary script | ||
update_action.php | Example | Example script | ||
upload.php | Aux. | Auxiliary script |
Files | / | .idea |
File | Role | Description |
---|---|---|
.name | Data | Auxiliary data |
modules.xml | Data | Auxiliary data |
vcs.xml | Data | Auxiliary data |
Files | / | class |
File | Role | Description |
---|---|---|
crudClass.php | Class | Class source |
typeClass.php | Class | Class source |
Files | / | css |
File | Role | Description |
---|---|---|
bootstrap.min.css | Data | Auxiliary data |
dataTables.bootstrap.min.css | Data | Auxiliary data |
datepicker.css | Data | Auxiliary data |
Files | / | js |
File | Role | Description |
---|---|---|
bootstrap-datepicker1.js | Data | Auxiliary data |
bootstrap.min.css | Data | Auxiliary data |
bootstrap.min.js | Data | Auxiliary data |
datalist.polyfill.js | Data | Auxiliary data |
datalist.polyfill.min.js | Data | Auxiliary data |
dataTables.bootstrap.min.js | Data | Auxiliary data |
forecast_yandex.js | Data | Auxiliary data |
jquery-1.10.2.min.js | Data | Auxiliary data |
jquery-1.11.1.min.js | Data | Auxiliary data |
jquery.dataTables.min.js | Data | Auxiliary data |
jquery.js | Data | Auxiliary data |
session.js | Data | Auxiliary data |
session_count.js | Data | Auxiliary data |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.