Skip to content

Commit a7ac387

Browse files
authored
Merge pull request #47 from utopia-php/chore-remove-console-and-framework
chore: remove framework
2 parents 0cfa4d7 + c28b84e commit a7ac387

File tree

7 files changed

+111
-2105
lines changed

7 files changed

+111
-2105
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ require_once './vendor/autoload.php';
2323
use Utopia\Console;
2424
use Utopia\CLI\CLI;
2525
use Utopia\CLI\Adapters\Generic;
26-
use Utopia\Http\Validator\Wildcard;
26+
use Utopia\Validator\Wildcard;
2727

2828
$cli = new CLI(new Generic());
2929

@@ -53,7 +53,7 @@ require_once __DIR__ . '/../../vendor/autoload.php';
5353

5454
use Utopia\CLI\CLI;
5555
use Utopia\Console;
56-
use Utopia\Http\Validator\Wildcard;
56+
use Utopia\Validator\Wildcard;
5757

5858
CLI::setResource('res1', function() {
5959
return 'resource 1';

composer.json

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,13 @@
1111
"format": "vendor/bin/pint"
1212
},
1313
"autoload": {
14-
"psr-4": {"Utopia\\CLI\\": "src/CLI"}
14+
"psr-4": {
15+
"Utopia\\CLI\\": "src/CLI"
16+
}
1517
},
1618
"require": {
1719
"php": ">=7.4",
18-
"utopia-php/framework": "1.0.*",
19-
"utopia-php/di": "0.1.*"
20+
"utopia-php/servers": "0.2.*"
2021
},
2122
"require-dev": {
2223
"utopia-php/console": "0.0.*",
@@ -25,12 +26,5 @@
2526
"phpstan/phpstan": "^1.10",
2627
"laravel/pint": "1.2.*",
2728
"swoole/ide-helper": "4.8.8"
28-
},
29-
"minimum-stability": "dev",
30-
"config": {
31-
"allow-plugins": {
32-
"php-http/discovery": true,
33-
"tbachert/spi": true
34-
}
3529
}
3630
}

0 commit comments

Comments
 (0)