howmas/pimcore-ensure

HowMAS Pimcore Ensure

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/howmas/pimcore-ensure

0.0.1 2026-01-16 08:56 UTC

This package is auto-updated.

Last update: 2026-01-16 09:07:59 UTC


README

HowMAS Admin Bundle

Installation

Install by command line:

    composer require howmas/pimcore-ensure
    # or
    composer require howmas/pimcore-ensure --ignore-platform-req=ext-amqp

Update config/bundles.php file:

    return [
        ....
        HowMAS\PimcoreEnsureBundle\HowMASPimcoreEnsureBundle::class => ['all' => true],
        Nelmio\SecurityBundle\NelmioSecurityBundle::class => ['all' => true],
    ];

Step by step

Route /asset/webdav

Update config/package/security.yaml to disallow access route /asset/webdav:

firewalls:
    ...
    pimcore_webdav:
        pattern: ^/asset/webdav
        provider: pimcore_admin
        #http_basic: ~

Route /js/routing

Add code to the top top of config/routes.yaml to allow only admin access route /js/routing:

fos_js_routing:
    path: '/js/routing'
    controller: HowMAS\PimcoreEnsureBundle\Controller\Security\JsRoutingController::indexAction
    methods: GET

_pimcore:
    resource: "@PimcoreCoreBundle/config/routing.yaml"

Note

Config timezone

Update config/config.yaml:

pimcore:
    ...
    general:
        timezone: Asia/Ho_Chi_Minh

Enviroment variables example

# Redis config
HOWMAS_REDIS_PREFIX_SEED=howmas_app
HOWMAS_REDIS_DEFAULT_LIFETIME=31536000
HOWMAS_REDIS_PROVIDER=redis://127.0.0.1:6379/10

# SMTP email config
HOWMAS_MAILER_DSN=smtp://exmaple@gmail.com:xxxxxxxxxxxx@smtp.gmail.com:587