Skip to content

Commit 1c57d5a

Browse files
committed
initial commit
0 parents  commit 1c57d5a

File tree

11 files changed

+7989
-0
lines changed

11 files changed

+7989
-0
lines changed

.github/workflows/main.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: run-tests
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
8+
9+
jobs:
10+
test:
11+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
fail-fast: true
14+
matrix:
15+
os: [ubuntu-latest, windows-latest]
16+
php: [7.4, 8.0]
17+
laravel: [8.*]
18+
stability: [prefer-lowest, prefer-stable]
19+
include:
20+
- laravel: 8.*
21+
testbench: ^6.6
22+
23+
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
24+
25+
steps:
26+
- name: Checkout code
27+
uses: actions/checkout@v2
28+
29+
- name: Setup PHP
30+
uses: shivammathur/setup-php@v2
31+
with:
32+
php-version: ${{ matrix.php }}
33+
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
34+
coverage: none
35+
36+
- name: Setup problem matchers
37+
run: |
38+
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
39+
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
40+
- name: Install dependencies
41+
run: |
42+
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
43+
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
44+
- name: Execute tests
45+
run: vendor/bin/phpunit

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
vendor

.styleci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
preset: laravel
2+
3+
disabled:
4+
- single_class_element_per_statement

LICENSE.md

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

README.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Laravel Debugbar collector package for Akaunting
2+
3+
![Downloads](https://img.shields.io/packagist/dt/akaunting/laravel-debugbar-collector)
4+
[![StyleCI](https://github.styleci.io/repos/442390293/shield?style=flat&branch=master)](https://styleci.io/repos/442390293)
5+
[![Quality](https://img.shields.io/scrutinizer/quality/g/akaunting/laravel-debugbar-collector?label=quality)](https://scrutinizer-ci.com/g/akaunting/laravel-debugbar-collector)
6+
[![License](https://img.shields.io/github/license/akaunting/laravel-debugbar-collector)](LICENSE.md)
7+
8+
This package aims to provide additional information about the Akaunting installation, versions, and server details.
9+
10+
## Installation
11+
12+
You can install the package via composer:
13+
14+
```bash
15+
composer require akaunting/laravel-debugbar-collector
16+
```
17+
18+
## Changelog
19+
20+
Please see [Releases](../../releases) for more information what has changed recently.
21+
22+
## Contributing
23+
24+
Pull requests are more than welcome. You must follow the PSR coding standards.
25+
26+
## Security
27+
28+
Please review [our security policy](https://github.com/akaunting/laravel-debugbar-collector/security/policy) on how to report security vulnerabilities.
29+
30+
## Credits
31+
32+
- [Denis Duliçi](https://github.com/denisdulici)
33+
- [Sevan Nerse](https://github.com/sevannerse)
34+
- [All Contributors](../../contributors)
35+
36+
## License
37+
38+
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

SECURITY.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Security Policy
2+
3+
**PLEASE DON'T DISCLOSE SECURITY-RELATED ISSUES PUBLICLY, [SEE BELOW](#reporting-a-vulnerability).**
4+
5+
## Supported Versions
6+
7+
Feel free to report security issues based on the following chart.
8+
9+
| Version | Supported |
10+
| ------- | ------------------ |
11+
| 1.2.x | :x: |
12+
| 1.3.x | :x: |
13+
| 2.0.x | :x: |
14+
| 2.1.x | :white_check_mark: |
15+
16+
## Reporting a Vulnerability
17+
18+
If you discover any security related issues, please email [email protected] instead of using the issue tracker.

composer.json

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"name": "akaunting/laravel-debugbar-collector",
3+
"description": "Adding Akaunting tab to the Laravel Debugbar",
4+
"keywords": [
5+
"akaunting",
6+
"debugbar"
7+
],
8+
"homepage": "https://github.com/akaunting/debugbar",
9+
"license": "MIT",
10+
"version": "1.0.0",
11+
"type": "library",
12+
"authors": [
13+
{
14+
"name": "Denis Duliçi",
15+
"email": "[email protected]",
16+
"homepage": "https://akaunting.com",
17+
"role": "Developer"
18+
},
19+
{
20+
"name": "Sevan Nerse",
21+
"email": "[email protected]",
22+
"homepage": "https://akaunting.com",
23+
"role": "Developer"
24+
}
25+
],
26+
"require": {
27+
"php": "^7.3.0",
28+
"barryvdh/laravel-debugbar": "^3.6"
29+
},
30+
"require-dev": {
31+
"orchestra/testbench": "^6.0",
32+
"phpunit/phpunit": "^9.0"
33+
},
34+
"autoload": {
35+
"psr-4": {
36+
"Akaunting\\DebugbarCollector\\": "src"
37+
}
38+
},
39+
"autoload-dev": {
40+
"psr-4": {
41+
"Akaunting\\DebugbarCollector\\Tests\\": "tests"
42+
}
43+
},
44+
"scripts": {
45+
"test": "vendor/bin/phpunit",
46+
"test-coverage": "vendor/bin/phpunit --coverage-html coverage"
47+
},
48+
"config": {
49+
"sort-packages": true
50+
},
51+
"extra": {
52+
"laravel": {
53+
"providers": [
54+
"Akaunting\\DebugbarCollector\\Provider"
55+
]
56+
}
57+
}
58+
}

0 commit comments

Comments
 (0)