PHP CRUD Generator can be used according to your convenience directly on your production server, or from your local server by synchronizing the configuration & Bootstrap admin dashboard files.
Whatever your choice, you must register your license on each server on which you use PHPCG.
Registering the license generates a license table (typically user_data
) in your database. The table user_data
must not be synchronized from one server to another.
If you use the generator directly on your production server you don't need to synchronize your conf. & dashboard admin files. That's why this is the recommended method: there is no risk of synchronization errors.
Here's how to proceed:
generator/generator.php
) in your browser and start to build the admin panel
You will then have to install the authentication module of the admin panel.
important Do not install it before having generated all the views (READ lists) of your admin dashboard.
The authentication module needs to know the tables used in the admin so that you can assign them rights (user profiles).
admin
directory.conf/user-conf.json
is updated.
generator
folder on your production server./class/phpformbuilder/database/db-connect.php
. The connection settings were written in this file during installation. They are specific to each server: don't synchronize this file..admin/crud-data
in JSON format.admin/class/
and TWIG templates in admin/templates/
.admin/inc/forms/
admin/crud-data/nav-data.json