Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit fed2390

Browse files
committed
Initial creation
0 parents  commit fed2390

20 files changed

+613
-0
lines changed

.gitattributes

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/.coveralls.yml export-ignore
2+
/.gitattributes export-ignore
3+
/.gitignore export-ignore
4+
/.travis.yml export-ignore
5+
/composer.lock export-ignore
6+
/docs export-ignore
7+
/mkdocs.yml export-ignore
8+
/phpcs.xml export-ignore
9+
/phpunit.xml.dist export-ignore
10+
/test export-ignore

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
docs/html/
2+
vendor/
3+
zf-mkdoc-theme/
4+
clover.xml
5+
coveralls-upload.json
6+
phpunit.xml
7+
zf-mkdoc-theme.tgz

.travis.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
sudo: false
2+
3+
language: php
4+
5+
cache:
6+
directories:
7+
- $HOME/.composer/cache
8+
9+
env:
10+
global:
11+
- COMPOSER_ARGS="--no-interaction"
12+
- COVERAGE_DEPS="satooshi/php-coveralls"
13+
14+
matrix:
15+
include:
16+
- php: 7.1
17+
env:
18+
- DEPS=lowest
19+
- php: 7.1
20+
env:
21+
- DEPS=locked
22+
- CS_CHECK=true
23+
- TEST_COVERAGE=true
24+
- php: 7.1
25+
env:
26+
- DEPS=latest
27+
- php: 7.2
28+
env:
29+
- DEPS=lowest
30+
- php: 7.2
31+
env:
32+
- DEPS=locked
33+
- php: 7.2
34+
env:
35+
- DEPS=latest
36+
37+
before_install:
38+
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
39+
40+
install:
41+
- travis_retry composer install $COMPOSER_ARGS
42+
- if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi
43+
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi
44+
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi
45+
- stty cols 120 && composer show
46+
47+
script:
48+
- if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; else composer test ; fi
49+
- if [[ $CS_CHECK == 'true' ]]; then composer cs-check ; fi
50+
51+
after_script:
52+
- if [[ $TEST_COVERAGE == 'true' ]]; then composer upload-coverage ; fi
53+
54+
notifications:
55+
email: false

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file, in reverse chronological order by release.
4+
5+
## 0.1.0 - TBD
6+
7+
### Added
8+
9+
- Nothing.
10+
11+
### Changed
12+
13+
- Nothing.
14+
15+
### Deprecated
16+
17+
- Nothing.
18+
19+
### Removed
20+
21+
- Nothing.
22+
23+
### Fixed
24+
25+
- Nothing.

LICENSE.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Copyright (c) 2017, Zend Technologies USA, Inc.
2+
All rights reserved.
3+
4+
Redistribution and use in source and binary forms, with or without modification,
5+
are permitted provided that the following conditions are met:
6+
7+
- Redistributions of source code must retain the above copyright notice, this
8+
list of conditions and the following disclaimer.
9+
10+
- Redistributions in binary form must reproduce the above copyright notice, this
11+
list of conditions and the following disclaimer in the documentation and/or
12+
other materials provided with the distribution.
13+
14+
- Neither the name of Zend Technologies USA, Inc. nor the names of its
15+
contributors may be used to endorse or promote products derived from this
16+
software without specific prior written permission.
17+
18+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
22+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
25+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# zend-expressive-authentication-basic
2+
3+
[![Build Status](https://secure.travis-ci.org/zendframework/zend-expressive-authentication-basic.svg?branch=master)](https://secure.travis-ci.org/zendframework/zend-expressive-authentication-basic)
4+
[![Coverage Status](https://coveralls.io/repos/github/zendframework/zend-expressive-authentication-basic/badge.svg?branch=master)](https://coveralls.io/github/zendframework/zend-expressive-authentication-basic?branch=master)
5+
6+
This library provides ...
7+
8+
## Installation
9+
10+
Run the following to install this library:
11+
12+
```bash
13+
$ composer require zendframework/zend-expressive-authentication-basic
14+
```
15+
16+
## Documentation
17+
18+
Documentation is [in the doc tree](docs/book/), and can be compiled using [mkdocs](http://www.mkdocs.org):
19+
20+
```bash
21+
$ mkdocs build
22+
```
23+
24+
You may also [browse the documentation online](https://docs.zendframework.com/zend-expressive-authentication-basic/).

composer.json

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"name": "zendframework/zend-expressive-authentication-basic",
3+
"description": "<package description; should match repository description>",
4+
"license": "BSD-3-Clause",
5+
"keywords": [
6+
"expressive",
7+
"zf",
8+
"zendframework",
9+
"<individual keywords for current package>"
10+
],
11+
"support": {
12+
"docs": "https://docs.zendframework.com/zend-expressive-authentication-basic/",
13+
"issues": "https://github.com/zendframework/zend-expressive-authentication-basic/issues",
14+
"source": "https://github.com/zendframework/zend-expressive-authentication-basic",
15+
"rss": "https://github.com/zendframework/zend-expressive-authentication-basic/releases.atom",
16+
"slack": "https://zendframework-slack.herokuapp.com",
17+
"forum": "https://discourse.zendframework.com/c/questions/expressive"
18+
},
19+
"require": {
20+
"php": "^7.1"
21+
},
22+
"require-dev": {
23+
"phpunit/phpunit": "^6.3",
24+
"zendframework/zend-coding-standard": "~1.0.0"
25+
},
26+
"autoload": {
27+
"psr-4": {
28+
"Zend\\Expressive\\Authentication\\Basic\\": "src/"
29+
}
30+
},
31+
"autoload-dev": {
32+
"psr-4": {
33+
"ZendTest\\Expressive\\Authentication\\Basic\\": "test/"
34+
}
35+
},
36+
"config": {
37+
"sort-packages": true
38+
},
39+
"extra": {
40+
"branch-alias": {
41+
"dev-master": "1.0-dev"
42+
},
43+
"zf": {
44+
"config-provider": "Zend\\Expressive\\Authentication\\Basic\\ConfigProvider"
45+
}
46+
},
47+
"scripts": {
48+
"check": [
49+
"@cs-check",
50+
"@test"
51+
],
52+
"cs-check": "phpcs",
53+
"cs-fix": "phpcbf",
54+
"test": "phpunit --colors=always",
55+
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml",
56+
"upload-coverage": "coveralls -v"
57+
}
58+
}

docs/CODE_OF_CONDUCT.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Contributor Code of Conduct
2+
3+
This project adheres to [The Code Manifesto](http://codemanifesto.com)
4+
as its guidelines for contributor interactions.
5+
6+
## The Code Manifesto
7+
8+
We want to work in an ecosystem that empowers developers to reach their
9+
potential — one that encourages growth and effective collaboration. A space that
10+
is safe for all.
11+
12+
A space such as this benefits everyone that participates in it. It encourages
13+
new developers to enter our field. It is through discussion and collaboration
14+
that we grow, and through growth that we improve.
15+
16+
In the effort to create such a place, we hold to these values:
17+
18+
1. **Discrimination limits us.** This includes discrimination on the basis of
19+
race, gender, sexual orientation, gender identity, age, nationality, technology
20+
and any other arbitrary exclusion of a group of people.
21+
2. **Boundaries honor us.** Your comfort levels are not everyone’s comfort
22+
levels. Remember that, and if brought to your attention, heed it.
23+
3. **We are our biggest assets.** None of us were born masters of our trade.
24+
Each of us has been helped along the way. Return that favor, when and where
25+
you can.
26+
4. **We are resources for the future.** As an extension of #3, share what you
27+
know. Make yourself a resource to help those that come after you.
28+
5. **Respect defines us.** Treat others as you wish to be treated. Make your
29+
discussions, criticisms and debates from a position of respectfulness. Ask
30+
yourself, is it true? Is it necessary? Is it constructive? Anything less is
31+
unacceptable.
32+
6. **Reactions require grace.** Angry responses are valid, but abusive language
33+
and vindictive actions are toxic. When something happens that offends you,
34+
handle it assertively, but be respectful. Escalate reasonably, and try to
35+
allow the offender an opportunity to explain themselves, and possibly correct
36+
the issue.
37+
7. **Opinions are just that: opinions.** Each and every one of us, due to our
38+
background and upbringing, have varying opinions. The fact of the matter, is
39+
that is perfectly acceptable. Remember this: if you respect your own
40+
opinions, you should respect the opinions of others.
41+
8. **To err is human.** You might not intend it, but mistakes do happen and
42+
contribute to build experience. Tolerate honest mistakes, and don't hesitate
43+
to apologize if you make one yourself.

0 commit comments

Comments
 (0)