File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed
Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 22
33namespace 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 ;
99use DevNet \System \Async \Task ;
1010
1111class Program
Original file line number Diff line number Diff line change 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```
1313Or using DevNet CLI
1414```
15- devnet new web --project YourProjectName
15+ devnet new web --project [project-Name]
1616```
1717
1818## Documentation
Original file line number Diff line number Diff line change 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}
You can’t perform that action at this time.
0 commit comments