Powerful Admin Dashboard for Symfony 5.
Supported PHP8 and Composer 2
Symfony Powerful Dashboard & Admin. Developed with Symfony 5, Vue 3, Bootstrap 5 framework.
No changes were made to the symfony structure, the current directory structure is used. A custom namespace for Admin has been created. This field is used for all administrator operations.
The interface is designed to be responsive using Twitter Bootstrap. The least possible dependency was tried to be used.
Properties
- Messenger was used for queuing.
- PM2 has been set for background processes.
- Cron processes are managed by PM2.
- A special Data Table has been written to the panel (Vue3)
- Supports CSV, Excel export.
- Special package written for HTTP vs Mail logging.
- JWT is used for API login.
- Responsive design
- Vue documentation is not yet available, see source file.
Installation
-
Download pdAdmin
composer create-project appaydin/pd-admin pdadmin
-
Create and configure the
.env
file. -
Create database schemas
bin/console doctrine:schema:create --force
-
Run built-in web server
symfony server:start --no-tls -d
-
Install & Build assets
yarn install yarn run build
-
Run Backround Process
pm2 start # Manuel # bin/console messenger:consume -vv # bin/console schedule:run
Documentation
User Management
There is pd-user for user management. All settings are in config/packages/pd_user.yaml file.
- Create User:
bin/console user:create
- Change User Password:
bin/console user:changepassword
- Change User Roles:
bin/console user:role
Multilingual System
User logon for multi language is used. Each user can choose his / her own language. When you log in, you are automatically redirected.
New languages can be added from the kernel settings. You need to translate manually for the new language.
Delegation
SensioFrameworkExtraBundle is used with Symfony security component. There are three default user roles.
- ROLE_USER
- ROLE_SUPER_ADMIN
ROLE_SUPER_ADMIN has full authority. ROLE_USER authorities can be restricted and panel access can be turned off in the security.yaml file.
System Settings
System settings are stored in the database. All settings can be used as parameters after container assembly. Since all settings are compiled with the container it does not create any additional load on the system. Settings can be configured using Symfony Forms and added to the Settings menu from the outside via the "Menu Event" system. Clear the cache after changes to system settings, otherwise the new settings will not be enabled.
from https://github.com/Arrrray/pd-admin
No comments:
Post a Comment