Skip to content

Commit 73d67d9

Browse files
committed
update package name and namespaces
1 parent bb4433e commit 73d67d9

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

Program.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
namespace Application;
44

5-
use DevNet\Core\Extensions\ApplicationBuilderExtensions;
6-
use DevNet\Core\Extensions\ServiceCollectionExtensions;
7-
use DevNet\Core\Hosting\WebHost;
8-
use DevNet\Core\Http\HttpContext;
5+
use DevNet\Web\Extensions\ApplicationBuilderExtensions;
6+
use DevNet\Web\Extensions\ServiceCollectionExtensions;
7+
use DevNet\Web\Hosting\WebHost;
8+
use DevNet\Web\Http\HttpContext;
99
use DevNet\System\Async\Task;
1010

1111
class Program

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
# DevNet Web Application Template
2-
This package is a basic web application template of DevNet Framewark.
2+
This package is a minimal web API template of DevNet Framework, which is suitable for building microservices.
33

44
## Requirements
55
- PHP 7.4 or higher version from [php.net](https://www.php.net/)
66
- Composer the dependency manager from [getcomposer.org](https://getcomposer.org/)
77

88
## Installation
9-
To create DevNet MVC Web Application, run the following command in your terminal:
9+
To create a DevNet minimal Web API project using composer, run the following command in your terminal:
1010
```
11-
composer create-project devnet/web YourProjectName
11+
composer create-project devnet/web-template [project-Name]
1212
```
1313
Or using DevNet CLI
1414
```
15-
devnet new web --project YourProjectName
15+
devnet new web --project [project-Name]
1616
```
1717

1818
## Documentation

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"name": "devnet/web",
3-
"description": "DevNet Web Application",
2+
"name": "devnet/web-template",
3+
"description": "DevNet Web Application (Minimal APIs)",
44
"type": "devnet-template",
55
"license": "MIT",
66
"minimum-stability": "dev",
77
"prefer-stable": true,
88
"require": {
99
"php": ">=7.4.0",
10-
"devnet/core": "1.0.*"
10+
"devnet/web": "1.0.*"
1111
}
1212
}

0 commit comments

Comments
 (0)