feat(monorepo): migrate to typescript monorepo

This commit is contained in:
2025-11-07 17:09:29 +02:00
committed by BernardNganduDev
parent 3e09956f05
commit 075a388ccb
745 changed files with 2341 additions and 5082 deletions
+18
View File
@@ -0,0 +1,18 @@
<?php
declare(strict_types=1);
use Basango\SharedKernel\Infrastructure\Framework\Symfony\Kernel;
use Symfony\Component\Dotenv\Dotenv;
require __DIR__ . '/../vendor/autoload.php';
new Dotenv()->bootEnv(__DIR__ . '/../.env');
$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
$kernel->boot();
/** @var Doctrine\Bundle\DoctrineBundle\Registry $doctrine */
$doctrine = $kernel->getContainer()->get('doctrine');
return $doctrine->getManager();