File tree Expand file tree Collapse file tree 3 files changed +13
-10
lines changed
Expand file tree Collapse file tree 3 files changed +13
-10
lines changed Original file line number Diff line number Diff line change 11# DevNet Web Application Template
2- This package is a minimal web API template of DevNet Framework, which is suitable for building microservices .
2+ This package is a web application template for DevNet Framework.
33
44## Requirements
55- [ PHP] ( https://www.php.net/ ) version 8.1 or higher
66- [ Composer] ( https://getcomposer.org/ ) version 2.0 or higher
77
88## Installation
9- To create a DevNet minimal Web API project using composer, run the following command in your terminal:
9+ You can use DevNet CLI to create a web application project by running the following command in your terminal:
1010```
11- composer create-project devnet/ web-template [project-Name]
11+ devnet new web --project [project-Name]
1212```
13- Or using DevNet CLI
13+ Or using composer
1414```
15- devnet new web -- project [project-Name]
15+ composer create- project devnet/web [project-Name]
1616```
1717
1818## Documentation
Original file line number Diff line number Diff line change 11{
2- "name" : " devnet/web-template " ,
2+ "name" : " devnet/web" ,
33 "description" : " Web Application" ,
44 "type" : " project" ,
55 "license" : " MIT" ,
66 "minimum-stability" : " dev" ,
7- "prefer-stable" : true
7+ "prefer-stable" : true ,
8+ "require" : {
9+ "devnet/core" : " 1.1.*"
10+ }
811}
Original file line number Diff line number Diff line change 22
33namespace Application ;
44
5- use DevNet \Web \Extensions \ApplicationBuilderExtensions ;
6- use DevNet \Web \Extensions \ServiceCollectionExtensions ;
7- use DevNet \Web \Hosting \WebHost ;
5+ use DevNet \Core \Extensions \ApplicationBuilderExtensions ;
6+ use DevNet \Core \Extensions \ServiceCollectionExtensions ;
7+ use DevNet \Core \Hosting \WebHost ;
88
99class Program
1010{
You can’t perform that action at this time.
0 commit comments