Skip to content

Commit ee283f4

Browse files
committed
2 parents 849da6c + 7d9abe6 commit ee283f4

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,28 @@ RawPHP is powerful and robust PHP framework that helps people from different PHP
1010
RawPHP comes with complete user authentication system built-in and ready to use out of the box.
1111

1212
## Installation
13+
There are two ways to install RawPHP:
1314

14-
It's recommended that you use [Composer](https://getcomposer.org/) to install RawPHP.
15+
* The first way is to clone `https://github.com/rawphp-framework/rawphp.git` into your local machine, then CD into it and run `composer install` in your command line. If you don't have composer already installed in your system, do download and installed [Composer](https://getcomposer.org/) .
1516

16-
```bash
17-
$ composer require partner/rawphp "^1.0"
17+
* The second way is to use [Composer](https://getcomposer.org/) to install RawPHP.
18+
Navigate to the folder you wish to install RawPHP, then run the below code in your command line
19+
```
20+
$ composer require partner/rawphp
1821
```
1922

20-
Otherwise, you can just clone this repository into your local machine, then CD into it and run `composer install` in your command line.
2123

22-
This will install RawPHP and all required dependencies. RawPHP requires PHP 5.5.0 or newer.
24+
Both methods install RawPHP and all required dependencies. RawPHP requires PHP 5.5.0 or newer.
2325

2426
## Usage
2527

28+
There are two ways to run RawPHP
2629
### PHP's inbuilt server
2730
After RawPHP has installed, you can run it by using the built-in PHP server. Navigate to the root folder and run the below command:
2831
```bash
2932
$ php -S localhost:8000 -t public
3033
```
31-
Going to http://localhost:8000/hello/world will now display "Hello, world".
34+
Going to http://localhost:8000/ will now display your default Homepage.
3235

3336
### Wamp, LAMP or XAMP server
3437
Otherwise, you can just put it in your wamp/www or xxamp htdocs folder and access it by visiting the url on your browser `localhost/your-rawphp-folder/public
@@ -44,6 +47,7 @@ To execute the test suite, you'll need phpunit.
4447
$ phpunit
4548
```
4649

50+
Now you have a copy of RawPHP and it's working fine, you'll need to setup your RawPHP database to complete this installation. The full [installation instructions are here](https://github.com/rawphp-framework/rawphp-docs/blob/master/docs/start/installation.md) . Enjoy.
4751
## Contributing
4852

4953
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

0 commit comments

Comments
 (0)