How to replace silex in a project and adapt it to php8

478 Views Asked by At

I have this in my project php.

$app = new Silex\Application();
$app->register(new DerAlex\Silex\YamlConfigServiceProvider(realpath(__DIR__ . '/config/settings.yml')));
$app->register(new \Knp\Provider\MigrationServiceProvider(), array(
    'migration.path' => __DIR__.'/../migration',
));

I need to update the code to use php8.

All package are abandoned / archived.

I could replace silex/silex by spryker/silexphp.

I dont know how to replace this package to get settings.yml configutarion.

  • DerAlex\Silex\YamlConfigServiceProvider

Someone knows how can i do this?

0

There are 0 best solutions below