PHPackages                             oxygenzsas/composer\_lib\_app - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. oxygenzsas/composer\_lib\_app

ActiveLibrary[Framework](/categories/framework)

oxygenzsas/composer\_lib\_app
=============================

Classe de demarrage de mon framework

0.3.45(1y ago)058MITPHPPHP &gt;=8.1

Since Oct 6Pushed 1y ago1 watchersCompare

[ Source](https://github.com/OxygenzSAS/composer_lib_app)[ Packagist](https://packagist.org/packages/oxygenzsas/composer_lib_app)[ RSS](/packages/oxygenzsas-composer-lib-app/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (13)Used By (0)

App
===

[](#app)

Classe de demarrage de mon framework

Migration
---------

[](#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
```

Worker
------

[](#worker)

CONFIG

```
    // Supervisor
    "Supervisor"   => [
        /** chemin vers l'executable php */
        'php_path' => 'C:\Users\...\PHP\php-8.1.3-nts-Win32-vs16-x64\php.exe'
        ,'lock_path' => realpath($root_dir).DIRECTORY_SEPARATOR.'lock'.DIRECTORY_SEPARATOR
    ],
```

CONFIG-WORKER a file named worker.php inside folder config. List all actif worker

```
