nytris/shift-symfony

v0.1.2 2023-12-01 01:12 UTC

This package is auto-updated.

Last update: 2024-11-30 02:16:33 UTC


README

Build Status

Integrates PHP Code Shift into a Symfony application.

Usage

Install via Composer:

$ composer install nytris/shift-symfony

Configuring platform boot config

nytris.config.php

<?php

declare(strict_types=1);

use Asmblah\PhpCodeShift\ShiftPackage;
use Nytris\Boot\BootConfig;
use Nytris\Boot\PlatformConfig;

$bootConfig = new BootConfig(new PlatformConfig(__DIR__ . '/var/cache/nytris/'));

$bootConfig->installPackage(new ShiftPackage([...]));

return $bootConfig;