Get geographical weather data by city name or cordinates
This commit is contained in:
@@ -7,11 +7,16 @@ use App\Application\Handlers\ShutdownHandler;
|
||||
use App\Application\ResponseEmitter\ResponseEmitter;
|
||||
use App\Application\Settings\SettingsInterface;
|
||||
use DI\ContainerBuilder;
|
||||
use Dotenv\Dotenv;
|
||||
use Slim\Factory\AppFactory;
|
||||
use Slim\Factory\ServerRequestCreatorFactory;
|
||||
|
||||
require __DIR__ . '/../vendor/autoload.php';
|
||||
|
||||
// Load environment variables from .env
|
||||
$dotenv = Dotenv::createUnsafeImmutable(dirname(__DIR__));
|
||||
$dotenv->safeLoad();
|
||||
|
||||
// Instantiate PHP-DI ContainerBuilder
|
||||
$containerBuilder = new ContainerBuilder();
|
||||
|
||||
|
Reference in New Issue
Block a user