filter_var(env('DEBUG', true), FILTER_VALIDATE_BOOLEAN), /* * Security and encryption configuration * * - salt - A random string used in security hashing methods. * The salt value is also used as the encryption key. * You should treat it as extremely sensitive data. */ 'Security' => [ 'salt' => env('SECURITY_SALT', '49fe3800e65a39586782ea33bdec25c951ed15fe4ddbd4fdf67a8fb7ae8cffa3'), ], /* * Connection information used by the ORM to connect * to your application's datastores. * * See app.php for more configuration options. */ /* * JWT configuration for API authentication. * - secret: HS256 signing key (keep it private, min. 32 bytes) * - ttl: token lifetime in seconds */ 'Jwt' => [ 'secret' => env('JWT_SECRET', '4b86c9e074a44d46c6e43103f7cba15972b058cfcc69a1d24c7c69e77d5884a1'), 'ttl' => 3600 * 8, ], 'Datasources' => [ 'default' => [ 'host' => '192.168.1.10', /* * CakePHP will use the default DB port based on the driver selected * MySQL on MAMP uses port 8889, MAMP users will want to uncomment * the following line and set the port accordingly */ //'port' => 'non_standard_port_number', 'username' => 'testapi', 'password' => 'sw]vV-VCvDjiahu3', 'database' => 'testapi', /* * If not using the default 'public' schema with the PostgreSQL driver * set it here. */ //'schema' => 'myapp', /* * You can use a DSN string to set the entire configuration */ 'url' => env('DATABASE_URL', null), ], /* * The test connection is used during the test suite. */ 'test' => [ 'host' => 'localhost', //'port' => 'non_standard_port_number', 'username' => 'my_app', 'password' => 'secret', 'database' => 'test_myapp', //'schema' => 'myapp', 'url' => env('DATABASE_TEST_URL', 'sqlite://127.0.0.1/tmp/tests.sqlite'), ], ], /* * Email configuration. * * Host and credential configuration in case you are using SmtpTransport * * See app.php for more configuration options. */ 'EmailTransport' => [ 'default' => [ 'host' => 'localhost', 'port' => 25, 'username' => null, 'password' => null, 'client' => null, 'url' => env('EMAIL_TRANSPORT_DEFAULT_URL', null), ], ], ];