phpguild/rhapsody-bundle

This bundle allows the creation of simple and fast administration for Symfony 4 and 5.

Installs: 7

Dependents: 1

Suggesters: 0

Security: 0

Stars: 3

Watchers: 2

Forks: 0

Open Issues: 0

Type:symfony-bundle

dev-master 2020-04-27 14:33 UTC

This package is auto-updated.

Last update: 2024-03-27 23:34:39 UTC


README

This bundle allows the creation of simple and fast administration for Symfony 4 and 5.

Installation

Install with composer

composer req phpguild/rhapsody-bundle

Execute install script

vendor/bin/rhapsody install

Configuration

Edit config/services.yaml

imports:
    - { resource: rhapsody.yaml }

Edit config/packages/security.yaml

security:
    firewalls:
        admin:
            pattern: ^/admin
            anonymous: lazy

Implementation

  • YAML routes config/routes/admin
  • Actions src/Action/Admin
  • Templates templates/admin

Context

The context of firewall define the app name, admin is used by default.

Components