Skip to content

Commit 6cdcdc1

Browse files
committed
feat: initial repository commit
1 parent 99d4e46 commit 6cdcdc1

28 files changed

+1297
-437
lines changed

.github/workflows/release-please.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
with:
1919
token: ${{ secrets.GITHUB_TOKEN }}
2020
release-type: node
21-
package-name: laravel-package-tpl
21+
package-name: laravel-cycle-orm-adapter
2222
default-branch: master
2323
changelog-types: |
2424
[

.php-cs-fixer.dist.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
$config = ConfigBuilder::createFromRuleSet(new DefaultSet(['static_lambda' => false]))
1111
->inDir(__DIR__ . '/src')
12+
->inDir(__DIR__ . '/config')
1213
->inDir(__DIR__ . '/tests')
1314
->addFiles([__FILE__])
1415
->getConfig()

CHANGELOG.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ else
2929
WHITE := ""
3030
RST := ""
3131
endif
32-
MAKE_LOGFILE = /tmp/wayofdev-laravel-package-tpl.log
32+
MAKE_LOGFILE = /tmp/wayofdev-laravel-cycle-orm-adapter.log
3333
MAKE_CMD_COLOR := $(BLUE)
3434

3535
# https://phpstan.org/user-guide/output-format
@@ -43,7 +43,7 @@ help:
4343
@echo
4444
@echo ' 📑 Logs are stored in $(MAKE_LOGFILE)'
4545
@echo
46-
@echo ' 📦 Package laravel-package-tpl (github.com/wayofdev/laravel-package-tpl)'
46+
@echo ' 📦 Package laravel-cycle-orm-adapter (github.com/wayofdev/laravel-cycle-orm-adapter)'
4747
@echo ' 🤠 Author Andrij Orlenko (github.com/lotyp)'
4848
@echo ' 🏢 ${YELLOW}Org wayofdev (github.com/wayofdev)${RST}'
4949
.PHONY: help

README.md

Lines changed: 1 addition & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -1,81 +1 @@
1-
<br>
2-
3-
<div align="center">
4-
<img width="456" src="https://raw.githubusercontent.com/wayofdev/ansible-role-tpl/master/assets/logo.gh-light-mode-only.png#gh-light-mode-only">
5-
<img width="456" src="https://raw.githubusercontent.com/wayofdev/ansible-role-tpl/master/assets/logo.gh-dark-mode-only.png#gh-dark-mode-only">
6-
</div>
7-
8-
9-
<br>
10-
11-
<br>
12-
13-
<div align="center">
14-
<a href="https://github.com/wayofdev/laravel-package-tpl/actions"><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"/></a>
15-
<a href="https://packagist.org/packages/wayofdev/laravel-package-tpl"><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"><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"><img src="https://img.shields.io/packagist/l/wayofdev/laravel-package-tpl?style=flat-square&color=blue" alt="Software License"/></a>
18-
<a href="https://packagist.org/packages/wayofdev/laravel-package-tpl"><img alt="Commits since latest release" src="https://img.shields.io/github/commits-since/wayofdev/laravel-package-tpl/latest?style=flat-square"></a>
19-
</div>
20-
21-
<br>
22-
23-
# Laravel Package Template
24-
25-
This is minimal Laravel template which is used by other PHP projects in wayofdev organization.
26-
27-
If you **like/use** this package, please consider **starring** it. Thanks!
28-
29-
![Screenshot](assets/screenshot.png)
30-
31-
## 💿 Installation
32-
33-
### → Using composer
34-
35-
Require as dependency:
36-
37-
```bash
38-
$ composer req wayofdev/laravel-package-tpl
39-
```
40-
41-
<br>
42-
43-
## 🧪 Running Tests
44-
45-
### → PHPUnit tests
46-
47-
To run tests, run the following command:
48-
49-
```bash
50-
$ make test
51-
```
52-
53-
### → Static Analysis
54-
55-
Code quality using PHPStan:
56-
57-
```bash
58-
$ make stan
59-
```
60-
61-
### → Coding Standards Fixing
62-
63-
Fix code using The PHP Coding Standards Fixer (PHP CS Fixer) to follow our standards:
64-
65-
```bash
66-
$ make cs-fix
67-
```
68-
69-
<br>
70-
71-
## 🤝 License
72-
73-
[![Licence](https://img.shields.io/github/license/wayofdev/laravel-package-tpl?style=for-the-badge&color=blue)](./LICENSE)
74-
75-
<br>
76-
77-
## 🙆🏼‍♂️ Author Information
78-
79-
Created in **2022** by [lotyp / wayofdev](https://github.com/wayofdev)
80-
81-
<br>
1+
work in progress

assets/screenshot.png

-485 KB
Binary file not shown.

composer.json

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,31 @@
11
{
2-
"name": "wayofdev/laravel-package-tpl",
2+
"name": "wayofdev/laravel-cycle-orm-adapter",
33
"description": "PHP package template with GitHub Actions",
44
"type": "library",
55
"license": "MIT",
66
"homepage": "https://wayof.dev",
77
"support": {
8-
"issues": "https://github.com/wayofdev/laravel-package-tpl/issues",
9-
"source": "https://github.com/wayofdev/laravel-package-tpl"
8+
"issues": "https://github.com/wayofdev/laravel-cycle-orm-adapter/issues",
9+
"source": "https://github.com/wayofdev/laravel-cycle-orm-adapter"
1010
},
1111
"authors": [
1212
{
13-
"name": "lotyp",
13+
"name": "Andrij Orlenko",
1414
"email": "the@wayof.dev"
1515
}
1616
],
1717
"require": {
1818
"php": "^8.1",
19+
"ext-pdo": "*",
20+
"cycle/annotated": "^3.2",
21+
"cycle/migrations": "^3.0",
22+
"cycle/orm": "^2.2",
1923
"illuminate/contracts": "^9.20"
2024
},
2125
"require-dev": {
2226
"ergebnis/composer-normalize": "^2.28",
27+
"fakerphp/faker": "^1.19",
28+
"jetbrains/phpstorm-attributes": "^1.0",
2329
"nunomaduro/collision": "^6.2",
2430
"nunomaduro/larastan": "^2.1",
2531
"orchestra/testbench": "^7.6",
@@ -37,13 +43,13 @@
3743
},
3844
"autoload": {
3945
"psr-4": {
40-
"WayOfDev\\Laravel\\Package\\": "src/",
41-
"WayOfDev\\Laravel\\Package\\Database\\Factories\\": "database/factories"
46+
"WayOfDev\\Cycle\\": "src/",
47+
"WayOfDev\\Cycle\\Database\\Factories\\": "database/factories"
4248
}
4349
},
4450
"autoload-dev": {
4551
"psr-4": {
46-
"WayOfDev\\Laravel\\Package\\Tests\\": "tests/"
52+
"WayOfDev\\Cycle\\Tests\\": "tests/"
4753
}
4854
},
4955
"scripts": {
@@ -52,7 +58,10 @@
5258
"test": "php vendor/bin/pest",
5359
"test-cc": "php vendor/bin/pest --coverage",
5460
"stan": "php vendor/bin/phpstan analyse",
55-
"stan-ci": "php vendor/bin/phpstan analyse --error-format=github"
61+
"stan-ci": "php vendor/bin/phpstan analyse --error-format=github",
62+
"post-autoload-dump": [
63+
"@php vendor/bin/testbench package:discover --ansi"
64+
]
5665
},
5766
"config": {
5867
"sort-packages": true,
@@ -65,10 +74,10 @@
6574
"extra": {
6675
"laravel": {
6776
"providers": [
68-
"WayOfDev\\Laravel\\Package\\PackageServiceProvider"
77+
"WayOfDev\\Cycle\\Bridge\\Laravel\\Providers\\PackageServiceProvider"
6978
],
7079
"aliases": {
71-
"Package": "WayOfDev\\Laravel\\Package\\Facades\\Package"
80+
"Package": "Cycle"
7281
}
7382
},
7483
"composer-normalize": {

0 commit comments

Comments
 (0)