Skip to content

Commit 2d5be06

Browse files
authored
Initial release (#1)
1 parent 3e76580 commit 2d5be06

20 files changed

Lines changed: 406 additions & 3 deletions
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: "[BUG]"
5+
labels: bug
6+
assignees: glorand
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
16+
**Expected behavior**
17+
A clear and concise description of what you expected to happen.
18+
19+
**Additional context**
20+
Add any other context about the problem here.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: enhancement
6+
assignees: glorand
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
composer.phar
2+
vendor/
3+
/.idea
4+
.php_cs.cache
5+
composer.lock
6+
7+
# Commit your application's lock file http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file
8+
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
9+
# composer.lock

.scrutinizer.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
build:
2+
nodes:
3+
analysis:
4+
tests:
5+
override:
6+
- php-scrutinizer-run
7+
- command: phpcs-run
8+
use_website_config: true
9+
- command: './vendor/bin/phpunit --coverage-clover=coverage.xml'
10+
coverage:
11+
file: coverage.xml
12+
format: clover
13+
filter:
14+
excluded_paths:
15+
- 'tests/*'
16+
checks:
17+
php:
18+
remove_extra_empty_lines: true
19+
remove_php_closing_tag: true
20+
remove_trailing_whitespace: true
21+
fix_use_statements:
22+
remove_unused: true
23+
preserve_multiple: false
24+
preserve_blanklines: true
25+
order_alphabetically: true
26+
fix_php_opening_tag: true
27+
fix_linefeed: true
28+
fix_line_ending: true
29+
fix_identation_4spaces: true
30+
fix_doc_comments: true
31+
32+
coding_style:
33+
php:
34+
spaces:
35+
around_operators:
36+
concatenation: true
37+
other:
38+
after_type_cast: false

.styleci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
preset: psr2
2+
enabled:
3+
- phpdoc_annotation_without_dot

.travis.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
language: php
2+
3+
php:
4+
- 7.1
5+
- 7.2
6+
7+
before_script:
8+
- composer selfupdate
9+
- composer install
10+
11+
script:
12+
- vendor/bin/phpunit --coverage-clover=coverage.xml

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Changelog
2+
3+
All notable changes to `glorand/laravel-drip` will be documented in this file
4+
5+
## 1.0.0 - 2018-12-27
6+
### Added
7+
- Initial release

CONTRIBUTING.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Contribution Guide
2+
3+
This project adheres to the following standards and practices.
4+
5+
## Versioning
6+
7+
This package is versioned under the [Semantic Versioning](http://semver.org/) guidelines as much as possible.
8+
9+
Releases will be numbered with the following format:
10+
11+
`<major>.<minor>.<patch>`
12+
13+
And constructed with the following guidelines:
14+
15+
* Breaking backward compatibility bumps the major and resets the minor and patch.
16+
* New additions without breaking backward compatibility bumps the minor and resets the patch.
17+
* Bug fixes and misc changes bumps the patch.
18+
19+
## Coding Standards
20+
21+
This package is compliant with the
22+
[PSR-1](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md),
23+
[PSR-2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md) and
24+
[PSR-4](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md).
25+
If you notice any compliance oversights, please send a patch via pull request.
26+
27+
## Pull Requests
28+
29+
The pull request process differs for new features and bugs.
30+
31+
Pull requests for bugs may be sent without creating any proposal issue.
32+
If you believe that you know of a solution for a bug that has been filed,
33+
please leave a comment detailing your proposed fix or create a pull request with the fix mentioning that issue id.
34+
35+
### Proposal \ Feature Requests
36+
37+
If you have a proposal or a feature request, you may create an issue with `[Proposal]` in the title.
38+
39+
The proposal should also describe the new feature, as well as implementation ideas.
40+
The proposal will then be reviewed and either approved or denied. Once a proposal is approved,
41+
a pull request may be created implementing the new feature.
42+
43+
### Which Branch?
44+
45+
**ALL** bug fixes should be made to the branch which they belong to.
46+
Bug fixes should never be sent to the `master` branch unless they fix features that exist only in the upcoming release.
47+
48+
If a bug is found on a `minor` version `1.1` and it exists on the `major` version `1.0`,
49+
the bug fix should be sent to the `1.0` branch which will be afterwards merged into the `1.1` branch.

LICENSE.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Copyright (c) Gombos Lorand
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to deal
5+
in the Software without restriction, including without limitation the rights
6+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
copies of the Software, and to permit persons to whom the Software is
8+
furnished to do so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in
11+
all copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19+
THE SOFTWARE.

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
<p align="center">
2-
<img src="https://user-images.githubusercontent.com/883989/49755957-17ec0980-fcc2-11e8-9e04-0339714f979b.png">
2+
<img height="90px" alt="drip" src="https://user-images.githubusercontent.com/883989/50478538-685da980-09da-11e9-92b3-6b2351dfd60e.png">
3+
</p>
4+
5+
<p align="center">
6+
<img height="90px" alt="laravel" src="https://user-images.githubusercontent.com/883989/50478539-685da980-09da-11e9-8251-18003e023ac9.png">
37
</p>
48

59
<h6 align="center">
@@ -55,10 +59,10 @@ For usage, please refer to the Drip PHP package documentation, located [here](ht
5559
Use **``namespace Glorand\Drip\Laravel\DripContract``** in your controller or service constructor
5660

5761
### Facade
58-
Just use the Laravel facade alias **``Drip::``** instead of the native call **``$drip->``**.
62+
Just use the Laravel facade alias **``Drip::``** instead of the native call [**``$drip->``**](https://github.com/glorand/drip).
5963

6064
### Helper
61-
Just use the helper function **``drip()``** instead of the native call **``$drip->``**.
65+
Just use the helper function **``drip()``** instead of the native call [**``$drip->``**](https://github.com/glorand/drip).
6266

6367
## Changelog <a name="changelog"></a>
6468
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

0 commit comments

Comments
 (0)