2017 © Pedro Peláez
 

library backend

image

annotate/backend

  • Tuesday, October 31, 2017
  • by vysinsky
  • Repository
  • 3 Watchers
  • 1 Stars
  • 174 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Backend package for Annotate Framework

This package provides powerfull administration., (*1)

Installation

Note: this works when annotate/sandbox is installed, (*2)

Run:, (*3)

composer require annotate/backend:@dev

Extend your presenter with Annotate\Modules\Application\ModularPresenter., (*4)

Register modules routes provider with adding @Annotate\Backend\Routing\BackendRouteProvider to app/config/app.neon after DefaultRouteProviderService, (*5)

Register authenticators and authorizators with adding them as services into app/config/services.neon file:, (*6)

-
    class: App\Services\DummyAuthorizator
    tags: [kdyby.subscriber]
-
    class: App\Services\DummyAuthenticator
    tags: [security.authenticator]

Note: You can use any authenticator and authorizator. When using custom authenticator set correct authenticator key in vendor/annotate/security/src/Components/LoginForm.php (will be fixed soon). When using DummyAuthenticator use admin as login and password., (*7)

Do not use DummyAuthenticator in production!

Hint!

For better experience install also packages annotate/themes and annotate/packages, (*8)

Uninstall

Just remove line with annotate/backend from composer.json and run composer update, (*9)

Revert changes made along with installation process., (*10)

The Versions