PHP7 and new dotnet parser

This commit is contained in:
Pablo Ferreiro 2022-05-22 11:48:06 +02:00
parent 9a662ffe1b
commit 33d5994159
No known key found for this signature in database
GPG key ID: 41FBCE65B779FA24
9 changed files with 154 additions and 315 deletions

View file

@ -1,9 +1,9 @@
<?php
require __DIR__ . "/vendor/autoload.php";
// LOAD DOTENV
$dotenv = Dotenv\Dotenv::createImmutable(__DIR__);
$dotenv->safeLoad();
$dotenv = new josegonzalez\Dotenv\Loader(__DIR__ . '/.env');
$dotenv->parse();
$dotenv->toEnv();
// ROUTER
$router = new Bramus\Router\Router();