A simple CRUD web application using Zend Framework 3 including DataTables, Bootstrap, and jQuery. This application has the following features:
- Registers new user
- Updates user details
- Deletes user details
- Validates data from server
- Actions are done via AJAX
- Server-side processing of DataTables
- Uses Bcrypt for password encryption
Check out images inside /data/screenshots
directory or click here.
Just clone the repository and run composer
as follows:
$ cd path/to/project/dir
$ git clone git@github.com:unclexo/zf3-datatables-crud.git
$ cd server
$ php composer.phar install
Alternately, download the repo to some directory and run composer
as follows:
$ cd path/to/project/dir
$ php composer.phar install
To setup apache, setup a virtual host to point to the public/ directory of the project. It should look something like below:
<VirtualHost *:80>
DocumentRoot /path/to/zf3-datatables-crud/public
<Directory /path/to/zf3-datatables-crud/public>
DirectoryIndex index.php
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
Now you should be able to see a list of users if you visit this link http://localhost/users
Database table is shipped with this repo in the data
directory. Otherwise, you may get the sql file from here.
zf3-datatables-crud is provided under the MIT license.
If you found a mistake or a bug, please report it using the Issues page. Your feedback is highly appreciated.