An open API service indexing awesome lists of open source software.

https://github.com/breizhwave/webxadmin

PHP RAD TOOL for quick setting of mysql database tables administration
https://github.com/breizhwave/webxadmin

bread crud form forms table

Last synced: 8 months ago
JSON representation

PHP RAD TOOL for quick setting of mysql database tables administration

Awesome Lists containing this project

README

          

# webxadmin PHP RAD TOOL for database administration

[//]: # ([![Build Status](https://travis-ci.org/laravel/lumen-framework.svg)](https://travis-ci.org/laravel/lumen-framework))

[//]: # ([![Total Downloads](https://img.shields.io/packagist/dt/laravel/framework)](https://packagist.org/packages/laravel/lumen-framework))

[//]: # ([![Latest Stable Version](https://img.shields.io/packagist/v/laravel/framework)](https://packagist.org/packages/laravel/lumen-framework))

[//]: # ([![License](https://img.shields.io/packagist/l/laravel/framework)](https://packagist.org/packages/laravel/lumen-framework))

Based on Laravel's little brother, Lumen Framework, webxadmin is a xml based BREAD (browse, read, edit, add, delete) or CRUD ( Create-Read-Update-Delete) for MYSQL database table administration. I know this is quite unconventionnal for Laravel which relies mainly on a very mature and efficient [data MODEL specification](https://laravel.com/docs/9.x/eloquent), allowing easy declaration and relationship management : the main objective of webxadmin is to keep the main data schema configuration in one single file that you can edit quickly, also allowing quicker declaration and relationship managament, and furthermore including a few UX/UI tricks like tabs structured forms, advanced fields, and so on....

With webxadmin, you setup a whole adminstration panel prototype in .. say 10 minutes. All you have to do is look at the `storage_path('app') . '/database.xml'` and declare your tables and fields based on `database.dtd` definition. All the work is performed by the single WaveController controller with a few views that still include raw PHP code to perform the BREAD / CRUD scaffolding :

* basic data table with filtering
* modal form generation with field types : input, wysiwyg (based on summer note), select (based on table relation ship)

## Installation

* clone the repository
* configure database access in .env
* get dependencies with `composer update`
* create your tables in sql (with primary key autoincrement named "id")
* declare your tables in storage / database.xml
* browse your application url with table name to access webxadmin (no index page yet ..)

## Basic Example

this example creates a basic time tracking application with three tables
* Notes
* tab based form (2 tabs defined by d_tab )
* aggregate sum function for counting hours
* hierachic filtering for categories and customer related tables
* Category / Customer : hierarchic tree structure
* color coding for categories

```






















```
## TODO

* pagination
* export
* tree field : multi level filtering (currently only two levels)
* doc : add image in readme
* generic id primary key field
* translation of delete message

## Screenshot

### example of a time tracking application

![Time tracking app](https://raw.githubusercontent.com/breizhwave/webxadmin/master/public/ijss/i/screenshot1-timetracking.jpg)

## Credit

* Bootstrap interface : [tabler.io](https://github.com/tabler/tabler)
* Date Range Filter: [Date Range Picker](https://www.daterangepicker.com/)
* [Colorpicker](https://github.com/mdbassit/Coloris)
* Wysiwyg editor : [SummerNote](https://summernote.org/)
* Hierarchical Tree filter : [select2Tree](https://github.com/clivezhg/select2-to-tree) , depends on [select2](https://github.com/select2/select2)

## Alternatives

* Laravel Nova and BackPack Manager
* https://lean-admin.dev/
* https://filamentphp.com/
* Blue Print : https://github.com/laravel-shift/blueprint
* https://github.com/nafiesl/SimpleCrudGenerator

## License

The webxadmin framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).