File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ The best implementation of the **Model-View-Controller** architectural pattern i
22
22
## Installation
23
23
24
24
```
25
- $ composer require meet-aleksey /php-mvc
25
+ $ composer require php-mvc-project /php-mvc
26
26
```
27
27
28
28
## Server Configuration
@@ -35,11 +35,11 @@ The server must send the entire request to the `./index.php` file.
35
35
<IfModule mod_rewrite.c>
36
36
RewriteEngine On
37
37
38
- # Redirect /index.php to /
38
+ # redirect /index.php to /
39
39
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.*index\.php
40
40
RewriteRule ^index.php/?(.*)$ $1 [R=301,L]
41
41
42
- # Run everything else but real files through index.php
42
+ # process all requests through index.php, except for actually existing files
43
43
RewriteCond %{REQUEST_FILENAME} !-d
44
44
RewriteCond %{REQUEST_FILENAME} !-f
45
45
RewriteRule ^(.*)$ index.php/$1?%{QUERY_STRING} [QSA,L]
@@ -76,7 +76,7 @@ Create the following structure in the project root directory:
76
76
``` php
77
77
<?php
78
78
// include PhpMvc
79
- require_once __DIR__ . '/vendor/meet-aleksey /php-mvc/src/index.php';
79
+ require_once __DIR__ . '/vendor/php-mvc-project /php-mvc/src/index.php';
80
80
81
81
// import the AppBuilder class
82
82
use PhpMvc\AppBuilder;
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " meet-aleksey /php-mvc" ,
3
- "description" : " Implementation of MVC in PHP." ,
2
+ "name" : " php-mvc-project /php-mvc" ,
3
+ "description" : " Implementation of the MVC (Model-View-Controller) architectural pattern in PHP." ,
4
4
"keywords" : [" mvc" ],
5
5
"license" : " MIT" ,
6
6
"type" : " library" ,
You can’t perform that action at this time.
0 commit comments