-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added console configuration file added routes list console command
- Loading branch information
Showing
24 changed files
with
184 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,4 +55,4 @@ function handleExceptions($e) | |
} | ||
|
||
Config::loadEnv(); | ||
Route::load(); | ||
Route::loadFiles(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<?php | ||
|
||
/** | ||
* @copyright 2021 - N'Guessan Kouadio Elisée ([email protected]) | ||
* @license MIT (https://opensource.org/licenses/MIT) | ||
* @link https://github.com/eliseekn/tinymvc | ||
*/ | ||
|
||
/** | ||
* Console commands | ||
*/ | ||
|
||
return [ | ||
'core' => [ | ||
new \Core\Console\Database\Create(), | ||
new \Core\Console\Database\Delete(), | ||
new \Core\Console\Database\Show(), | ||
new \Core\Console\Database\Query(), | ||
new \Core\Console\Database\Migrations\Delete(), | ||
new \Core\Console\Database\Migrations\Status(), | ||
new \Core\Console\Database\Migrations\Run(), | ||
new \Core\Console\Database\Migrations\Reset(), | ||
new \Core\Console\Database\Seeds(), | ||
|
||
new \Core\Console\Make\Migration(), | ||
new \Core\Console\Make\Model(), | ||
new \Core\Console\Make\Controller(), | ||
new \Core\Console\Make\Validator(), | ||
new \Core\Console\Make\Seed(), | ||
new \Core\Console\Make\Factory(), | ||
new \Core\Console\Make\View(), | ||
new \Core\Console\Make\Mail(), | ||
new \Core\Console\Make\Middleware(), | ||
new \Core\Console\Make\Console(), | ||
new \Core\Console\Make\Password(), | ||
new \Core\Console\Make\Helper(), | ||
new \Core\Console\Make\Test(), | ||
new \Core\Console\Make\Actions(), | ||
|
||
new \Core\Console\App\Setup(), | ||
new \Core\Console\App\EncryptionKey(), | ||
new \Core\Console\App\Environnement(), | ||
|
||
new \Core\Console\Cache(), | ||
new \Core\Console\Server(), | ||
new \Core\Console\Tests(), | ||
new \Core\Console\Logs(), | ||
new \Core\Console\Routes(), | ||
], | ||
|
||
'app' => [ | ||
// | ||
] | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.