aropixel / admin-bundle
Admin Aropixel
Installs: 3 116
Dependents: 4
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 3
Open Issues: 5
Language:JavaScript
Type:symfony-bundle
Requires
- a2lix/translation-form-bundle: ^3.0
- doctrine/orm: ^2.9
- friendsofsymfony/jsrouting-bundle: ^2.3
- knplabs/doctrine-behaviors: ^2.1
- knplabs/knp-menu-bundle: ^3.0
- knplabs/knp-paginator-bundle: ^5.0
- liip/imagine-bundle: ^2.1
- stof/doctrine-extensions-bundle: ^1.6
- symfony/framework-bundle: ^4.4|^5.0
- symfony/mailer: ^4.4|^5.0
- twig/extra-bundle: ^2.12|^3.0
- twig/intl-extra: ^2.12|^3.0
- twig/twig: ^2.12|^3.0
- dev-master
- v1.4.1
- v1.4.0
- v1.3.10
- v1.3.9
- v1.3.8
- v1.3.7
- v1.3.6
- v1.3.5
- v1.3.4
- v1.3.3
- v1.3.2
- v1.3.1
- v1.3.0
- v1.2.54
- v1.2.53
- v1.2.52
- v1.2.51
- v1.2.50
- v1.2.49
- v1.2.48
- v1.2.47
- v1.2.46
- v1.2.45
- v1.2.44
- v1.2.43
- v1.2.42
- v1.2.41
- v1.2.40
- v1.2.39
- v1.2.38
- v1.2.37
- v1.2.36
- v1.2.35
- v1.2.34
- v1.2.33
- v1.2.32
- v1.2.31
- 1.2.30
- v1.2.29
- v1.2.28
- v1.2.27
- v1.2.26
- v1.2.25
- v1.2.24
- v1.2.23
- v1.2.22
- v1.2.21
- v1.2.20
- v1.2.19
- v1.2.18
- v1.2.17
- v1.2.16
- v1.2.15
- v1.2.14
- v1.2.13
- 1.2.12
- v1.2.11
- v1.2.10
- v1.2.9
- v1.2.8
- v1.2.7
- v1.2.6
- v1.2.5
- v1.2.4
- v1.2.3
- v1.2.2
- v1.2.1
- v1.2.0
- 1.1.x-dev
- v1.1.6
- v1.1.5
- v1.1.4
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.16
- v1.0.15
- v1.0.14
- v1.0.13
- v1.0.12
- v1.0.11
- v1.0.10
- v1.0.9
- v1.0.8
- v1.0.7
- v1.0.6
- v1.0.5
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- v0.1.16
- v0.1.15
- v0.1.14
- v0.1.13
- v0.1.12
- v0.1.11
- v0.1.10
- v0.1.9
- v0.1.8
- v0.1.7
- v0.1.6
- v0.1.5
- v0.1.4
- v0.1.3
- v0.1.2
- v0.1.1
- v0.1.0
- dev-release/symfony7
- dev-release/v3.0.0
- dev-feature/symfony7/fullscreen-menu
- dev-feature/symfony7/menu
- dev-feature/v3/translatable
- dev-feature/v3.0.0
- dev-feature/v3/boostrap
- dev-feature/v3/boostrap-lcr
- dev-feature/v3/refacto-services/cs
- dev-feature/v3/translation
- dev-feature/v2/cs
- dev-feature/v2/user/lcr
- dev-feature/v2/ddd
- dev-feature/kby/v2.0
- dev-feature/v2/security
- dev-feature/v2.0
- dev-release/v1.3.6
- dev-develop
- dev-release/v1.3.5
- dev-release/v1.3.4
- dev-release/v1.3.3
- dev-release/v1.3.2
- dev-release/v1.3.1
- dev-feature/v1.3.0/rgpd/cs
- dev-release/v1.3.0
- dev-feature/v1.3
- dev-release/v1.2.48
- dev-feature/v1.2.36/david/multilang
- dev-release/v1.2.36
- dev-feature/fixs-image-uploader
- dev-feature/fix-image-uploader
- dev-features/fixs
This package is auto-updated.
Last update: 2024-11-13 13:32:03 UTC
README
Aropixel Admin Bundle
Aropixel Admin Bundle is a bootstrap admin bundle for your Symfony 4 projects. It provides a minimalist admin system with: login, logout, admin users crud, admin menu management.
You can plug compatible bundles to manage:
- blog content
- pages of your website
- menus of your website
- store and send incoming contacts of your website
Table of contents
Quick start
- Create your symfony 4 project
- Require Aropixel Admin Bundle :
composer require aropixel/admin-bundle
- If you get a "knplabs/knp-paginator-bundle" error, downgrade twig to version 2:
composer require twig/twig ^2.0
and re-install the AdminBundle - Apply migrations
- Create a "aropixel.yaml" file in config folder and configure according to you need:
aropixel_admin:
client:
name: "aropixel client"
copyright:
name: "Aropixel"
link: "http://www.aropixel.com"
theme:
menu_position: left
- Configure the security.yaml:
security:
providers:
admin_user_provider:
entity:
class: Aropixel\AdminBundle\Entity\User
property: email
encoders:
Aropixel\AdminBundle\Entity\User:
algorithm: argon2i
cost: 12
role_hierarchy:
ROLE_USER: [ROLE_USER]
ROLE_ADMIN: [ROLE_ADMIN]
ROLE_SUPER_ADMIN: [ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH]
ROLE_HYPER_ADMIN: [ROLE_SUPER_ADMIN, ROLE_ALLOWED_TO_SWITCH]
firewalls:
backoffice:
context: primary_auth
pattern: ^/admin
form_login:
provider: admin_user_provider
login_path: aropixel_admin_security_login
use_forward: true
use_referer: true
check_path: aropixel_admin_security_check
failure_path: aropixel_admin_security_login
default_target_path: _admin
remember_me:
secret: '%kernel.secret%'
lifetime: 2592000 # 1 month in seconds
path: /admin
logout:
path: aropixel_admin_security_logout
target: aropixel_admin_security_login
anonymous: true
guard:
provider: admin_user_provider
authenticators:
- Aropixel\AdminBundle\Security\LoginFormAuthenticator
dev:
pattern: ^/(_(profiler|wdt)|css|images|js)/
security: false
access_control:
- { path: ^/admin/login$, role: IS_AUTHENTICATED_ANONYMOUSLY }
- { path: ^/admin/, role: ROLE_ADMIN }
- Include the routes:
aropixel_admin:
resource: '@AropixelAdminBundle/Resources/config/routing/aropixel.yml'
prefix: /admin
-
Create your first admin access : php bin/console aropixel:admin:setup
-
Add the ConfigureMenuListener class in App Folder and register it as service
License
Aropixel Admin Bundle is under the MIT License