corepulse/corepulse

corepulse cms

Maintainers

Package info

github.com/starfruit-php/corepulse

Type:pimcore-bundle

pkg:composer/corepulse/corepulse

Statistics

Installs: 568

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0


README

Installation

  1. On your Pimcore 11 root project:
composer require corepulse/corepulse
  1. Update config/bundles.php file:
return [
    ....
    ValidatorBundle\ValidatorBundle::class => ['all' => true],
    Rompetomp\InertiaBundle\RompetompInertiaBundle::class => ['all' => true],
    Pentatrion\ViteBundle\PentatrionViteBundle::class => ['all' => true],
    CorepulseBundle\CorepulseBundle::class => ['all' => true],
];
  1. Install bundle:
    ./bin/console pimcore:bundle:install CorepulseBundle
  1. Update config/packages/security.yaml file:
security:
    ...
    firewalls:
        corepulse_cms: '%corepulse_admin.firewall_settings%'
    ...

    access_control:
        ...
        - { path: ^/corepulse/cms/api/auth, roles: PUBLIC_ACCESS }
        - { path: ^/corepulse/cms/api/auth/logout, roles: ROLE_COREPULSE_USER }
        - { path: ^/corepulse/cms/api, roles: ROLE_COREPULSE_USER }
        - { path: ^/cms/login, roles: PUBLIC_ACCESS }
        - { path: ^/cms, roles: ROLE_COREPULSE_USER }
  1. Setup default in Pimcore admin UI first then enjoy with https://your-domain/cms

Setup default in Pimcore admin UI

Update

Run command to create or update custom database configs:

    # create tables
    ./bin/console corepulse:setup
    # update with option `--update` or `-u`
    ./bin/console corepulse:setup -u

API

See more

Document

Full documents here