Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 721 Bytes

INSTALL.md

File metadata and controls

30 lines (24 loc) · 721 Bytes

Upload GeoJSON

Install

composer create-project geo6/upload-geojson

Authentication

To enable authentication, add the following in your configuration file (usually config/autoload/local.php) :

'authentication' => [
    'pdo' => [
        'dsn' => 'pgsql:host=localhost;port=5432;dbname=...',
        'username' => '...',
        'password' => '...',
        'table' => '...',
        'field' => [
            'identity' => '...',
            'password' => '...',
        ],
        'sql_get_roles' => '...',
        'sql_get_details' => '...',
    ],
],

See https://docs.zendframework.com/zend-expressive-authentication/v1/user-repository/#pdo-configuration for more information !