Skip to content

Commit 2d9011d

Browse files
committed
refactor: clean-up project structure
1 parent e645a63 commit 2d9011d

File tree

8 files changed

+37
-29
lines changed

8 files changed

+37
-29
lines changed

.gitattributes

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/.build export-ignore
22
/.github export-ignore
33
/.phive export-ignore
4-
/docs export-ignore
54
/tests export-ignore
65
.editorconfig export-ignore
76
.env export-ignore
@@ -10,18 +9,15 @@
109
.gitignore export-ignore
1110
.php-cs-fixer.dist.php export-ignore
1211
.pre-commit-config.yaml export-ignore
13-
.yamllint.yaml export-ignore
1412
composer.lock export-ignore
1513
composer-require-checker.json export-ignore
1614
docker-compose.yaml export-ignore
1715
infection.json.dist export-ignore
1816
Makefile export-ignore
19-
package.json export-ignore
17+
pest.xml.dist export-ignore
2018
phpstan.neon.dist export-ignore
2119
phpstan-baseline.neon export-ignore
2220
phpunit.xml.dist export-ignore
2321
psalm.xml export-ignore
2422
psalm-baseline.xml export-ignore
25-
renovate.json export-ignore
2623
rector.php export-ignore
27-
renovate.json export-ignore

.markdownlint.json renamed to .github/.markdownlint.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://raw.githubusercontent.com/DavidAnson/markdownlint/v0.34.0/schema/markdownlint-config-schema.json",
2+
"$schema": "https://raw.githubusercontent.com/DavidAnson/markdownlint/main/schema/markdownlint-config-schema.json",
33
"line-length": false,
44
"no-inline-html": false,
55
"first-line-h1": false,

.yamllint.yaml renamed to .github/.yamllint.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ extends: default
55
ignore: |
66
.build/
77
vendor/
8-
docs/
98
109
rules:
1110
braces:
File renamed without changes.

renovate.json renamed to .github/renovate.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"extends": [
4-
"config:base"
4+
"config:base",
5+
":semanticCommitTypeAll(deps)"
56
],
67
"automerge": true,
78
"platformAutomerge": true

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/.idea/
12
/vendor/
23
/.build/
34
.env

.pre-commit-config.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repos:
1010
args: ['--maxkb=600']
1111

1212
- repo: https://github.com/commitizen-tools/commitizen
13-
rev: v3.21.3
13+
rev: v3.27.0
1414
hooks:
1515
- id: commitizen
1616
stages:
@@ -36,6 +36,7 @@ repos:
3636
description: Run markdownlint-cli2 on your Markdown files using the docker image
3737
language: docker_image
3838
types: [markdown]
39-
entry: davidanson/markdownlint-cli2-rules:latest
39+
entry: 'davidanson/markdownlint-cli2-rules:latest'
40+
args: ['--config', '.github/.markdownlint.json']
4041

4142
...

README.md

Lines changed: 29 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div align="center">
1+
<p align="center">
22
<br>
33
<a href="https://wayof.dev" target="_blank">
44
<picture>
@@ -7,21 +7,30 @@
77
</picture>
88
</a>
99
<br>
10-
<br>
11-
</div>
12-
13-
<div align="center">
14-
<a href="https://github.com/wayofdev/laravel-package-tpl/actions" target="_blank"><img alt="Build Status" src="https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fwayofdev%2Flaravel-package-tpl%2Fbadge&style=flat-square&label=github%20actions"/></a>
15-
<a href="https://packagist.org/packages/wayofdev/laravel-package-tpl" target="_blank"><img src="https://img.shields.io/packagist/dt/wayofdev/laravel-package-tpl?&style=flat-square" alt="Total Downloads"></a>
16-
<a href="https://packagist.org/packages/wayofdev/laravel-package-tpl" target="_blank"><img src="https://img.shields.io/packagist/v/wayofdev/laravel-package-tpl?&style=flat-square" alt="Latest Stable Version"></a>
17-
<a href="https://packagist.org/packages/wayofdev/laravel-package-tpl" target="_blank"><img alt="Commits since latest release" src="https://img.shields.io/github/commits-since/wayofdev/laravel-package-tpl/latest?style=flat-square"></a>
18-
<a href="https://packagist.org/packages/wayofdev/laravel-package-tpl" target="_blank"><img alt="PHP Version Require" src="https://poser.pugx.org/wayofdev/laravel-package-tpl/require/php?style=flat-square"></a>
19-
<a href="https://app.codecov.io/gh/wayofdev/laravel-package-tpl" target="_blank"><img alt="Codecov" src="https://img.shields.io/codecov/c/github/wayofdev/laravel-package-tpl?style=flat-square&logo=codecov"></a>
20-
<a href="https://dashboard.stryker-mutator.io/reports/github.com/wayofdev/laravel-package-tpl/master" target="_blank"><img alt="Mutation testing badge" src="https://img.shields.io/endpoint?style=flat-square&label=mutation%20score&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fwayofdev%2Flaravel-package-tpl%2Fmaster"></a>
21-
<a href=""><img src="https://img.shields.io/badge/phpstan%20level-6%20of%209-yellowgreen?style=flat-square" alt="PHP Stan Level 6 of 9"></a>
22-
<a href="https://discord.gg/CE3TcCC5vr" target="_blank"><img alt="Codecov" src="https://img.shields.io/discord/1228506758562058391?style=flat-square&logo=discord&labelColor=7289d9&logoColor=white&color=39456d"></a>
23-
<a href="https://x.com/intent/follow?screen_name=wayofdev" target="_blank"><img alt="Follow on Twitter (X)" src="https://img.shields.io/badge/-Follow-black?style=flat-square&logo=X"></a>
24-
</div>
10+
</p>
11+
12+
<p align="center">
13+
<strong>Build</strong><br>
14+
<a href="https://github.com/wayofdev/laravel-package-tpl/actions" target="_blank"><img alt="Build Status" src="https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fwayofdev%2Flaravel-package-tpl%2Fbadge&style=flat-square&label=github%20actions"/></a>
15+
</p>
16+
<p align="center">
17+
<strong>Project</strong><br>
18+
<a href="https://packagist.org/packages/wayofdev/laravel-package-tpl" target="_blank"><img src="https://img.shields.io/packagist/dt/wayofdev/laravel-package-tpl?&style=flat-square" alt="Total Downloads"></a>
19+
<a href="https://packagist.org/packages/wayofdev/laravel-package-tpl" target="_blank"><img src="https://img.shields.io/packagist/v/wayofdev/laravel-package-tpl?&style=flat-square" alt="Latest Stable Version"></a>
20+
<a href="https://packagist.org/packages/wayofdev/laravel-package-tpl" target="_blank"><img alt="Commits since latest release" src="https://img.shields.io/github/commits-since/wayofdev/laravel-package-tpl/latest?style=flat-square"></a>
21+
<a href="https://packagist.org/packages/wayofdev/laravel-package-tpl" target="_blank"><img alt="PHP Version Require" src="https://poser.pugx.org/wayofdev/laravel-package-tpl/require/php?style=flat-square"></a>
22+
</p>
23+
<p align="center">
24+
<strong>Quality</strong><br>
25+
<a href="https://app.codecov.io/gh/wayofdev/laravel-package-tpl" target="_blank"><img alt="Codecov" src="https://img.shields.io/codecov/c/github/wayofdev/laravel-package-tpl?style=flat-square&logo=codecov"></a>
26+
<a href="https://dashboard.stryker-mutator.io/reports/github.com/wayofdev/laravel-package-tpl/master" target="_blank"><img alt="Mutation testing badge" src="https://img.shields.io/endpoint?style=flat-square&label=mutation%20score&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fwayofdev%2Flaravel-package-tpl%2Fmaster"></a>
27+
<a href=""><img src="https://img.shields.io/badge/phpstan%20level-6%20of%209-yellowgreen?style=flat-square" alt="PHP Stan Level 6 of 9"></a>
28+
</p>
29+
<p align="center">
30+
<strong>Community</strong><br>
31+
<a href="https://discord.gg/CE3TcCC5vr" target="_blank"><img alt="Discord" src="https://img.shields.io/discord/1228506758562058391?style=flat-square&logo=discord&labelColor=7289d9&logoColor=white&color=39456d"></a>
32+
<a href="https://x.com/intent/follow?screen_name=wayofdev" target="_blank"><img alt="Follow on Twitter (X)" src="https://img.shields.io/badge/-Follow-black?style=flat-square&logo=X"></a>
33+
</p>
2534

2635
<br>
2736

@@ -33,7 +42,7 @@ This is a template repository designed to kick-start the development of Laravel
3342

3443
If you **like/use** this package, please consider ⭐️ **starring** it. Thanks!
3544

36-
![Screenshot](assets/screenshot.png)
45+
![Screenshot](.github/assets/screenshot.png)
3746

3847
## 🚀 Features
3948

@@ -196,12 +205,13 @@ You are more than welcome. Before contributing, kindly check our [contribution g
196205

197206
## 🫡 Contributors
198207

208+
<p align="left">
199209
<a href="https://github.com/wayofdev/laravel-package-tpl/graphs/contributors">
200-
<img align="left" src="https://img.shields.io/github/contributors-anon/wayofdev/laravel-package-tpl?style=for-the-badge" alt="Contributors Badge"/>
210+
<img align="left" src="https://img.shields.io/github/contributors-anon/wayofdev/laravel-package-tpl?style=for-the-badge" alt="Contributors Badge"/>
201211
</a>
202-
203212
<br>
204213
<br>
214+
</p>
205215

206216
## 🌐 Social Links
207217

0 commit comments

Comments
 (0)