Classe de demarrage de mon framework

Installs: 97

Dependents: 2

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/veka-server/app

0.3.34 2023-03-24 13:26 UTC

README

Classe de demarrage de mon framework

Migration

CONFIG

    // Migration
    "Migration"   => [
        /** migration de l'app principal */
        'App' => ['path' => realpath($root_dir.DIRECTORY_SEPARATOR.'src'.DIRECTORY_SEPARATOR.'migration'.DIRECTORY_SEPARATOR), 'name' => 'App']
        ,'Trad' => ['path' => realpath($root_dir.DIRECTORY_SEPARATOR.'src'.DIRECTORY_SEPARATOR.'trad'.DIRECTORY_SEPARATOR), 'name' => 'Trad']
    ],

migration INIT ( install la bdd migration )

composer migration  source=App action=init 

migration UP (all)

composer migration  source=App action=upgrade 

migration DOWN (one at a time)

composer migration  source=App action=downgrade