Skip to content
This repository has been archived by the owner on Jul 31, 2022. It is now read-only.

Commit

Permalink
Merge pull request #26 from tbreuss/develop
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
tbreuss authored Oct 18, 2018
2 parents 79f3ec0 + e132630 commit 455cde1
Showing 1 changed file with 69 additions and 5 deletions.
74 changes: 69 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,75 @@
[![License](https://img.shields.io/github/license/tbreuss/pvc.svg)](https://github.com/tbreuss/pvc/blob/master/LICENSE)
[![PHP from Packagist](https://img.shields.io/packagist/php-v/tebe/pvc.svg)](https://packagist.org/packages/tebe/pvc)

A minimal **P**[HP] [M]**VC** framework for refreshing OOP and learning new concepts in PHP.
Just for my own experimentation and without any expectations.
A minimal **P**[HP] [M]**VC** framework using well-tried concepts in PHP.


## Usage
## Prerequisites

Have a look at the example project at:
<https://github.com/tbreuss/pvc-example>
- PHP 7.2
- Composer


## Installation

Composer is your friend.

$ composer create-project tebe/pvc myproject


## Running

$ cd myproject/example/public
$ php -S localhost:9999

Start your web browser and open <http://localhost:9999>


### Basic Auth Middleware

The example is using some middlewares.

For the Basic Auth middleware the Login details are:

Username: user
Password: pass

You're ready to go!


## Scripts

#### Testing

Start PHPUnit useing the following composer script.

$ composer phpunit

#### Codesniffer

Start PHP Codesniffer:

$ composer phpcs

Fix Codesniffer issues:

$ composer phpcbf

#### Both together

$ composer test


## Continues Integration

PVC is using Travis (<https://travis-ci.org/tbreuss/pvc>) for Continuous Integration.


## License

[MIT License](https://github.com/tbreuss/pvc/blob/master/LICENSE)


## Issues

Any suggestions? Open an [issue](https://github.com/tbreuss/pvc/issues).

0 comments on commit 455cde1

Please sign in to comment.