Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
144 commits
Select commit Hold shift + click to select a range
bacc51d
:alembic: alembic: new repository
koromerzhin Oct 24, 2020
c066265
:whale: whale: Add image pull
koromerzhin Oct 24, 2020
d884cc9
:ambulance: ambulance: Change www directory
koromerzhin Oct 24, 2020
fe2a606
:whale: whale: move pull images
koromerzhin Oct 27, 2020
bdb2c0f
:green_heart: green_heart: add linter markdown
koromerzhin Oct 27, 2020
cbb939e
:ambulance: ambulance: markdown linter
koromerzhin Oct 27, 2020
ab2636a
:green_heart: green_heart: test composer
koromerzhin Oct 27, 2020
2ea94ca
:green_heart: green_heart: composer validator
koromerzhin Oct 27, 2020
46d08ec
:ambulance: ambulance: change markdown linter
koromerzhin Oct 27, 2020
c90d6c2
:green_heart: green_heart: change npm install
koromerzhin Oct 27, 2020
d8afd2a
:ambulance: ambulance: change readme
koromerzhin Oct 28, 2020
388736a
:ambulance: ambulance: correction readme
koromerzhin Oct 28, 2020
f67213e
:ambulance: ambulance: Correction composer
koromerzhin Oct 28, 2020
af1b31f
:green_heart: green_heart: fusion ci
koromerzhin Oct 29, 2020
103c7d1
:alembic: alembic: new version with tests
koromerzhin Oct 30, 2020
353d4a4
:alembic: alembic: add phpunit
koromerzhin Oct 30, 2020
1da73a3
:green_heart: green_heart: correction ci/cd
koromerzhin Oct 30, 2020
0dcf8ee
:alembic: alembic: add folder src
koromerzhin Oct 30, 2020
16e61b4
:green_heart: green_heart: add folder tests
koromerzhin Oct 30, 2020
8f33c45
:green_heart: green_heart: delete help fonction
koromerzhin Oct 30, 2020
c7747f5
:green_heart: green_heart: replace old fonction
koromerzhin Oct 30, 2020
b44c79a
Pin dependencies (#20)
renovate[bot] Oct 31, 2020
a5fa80f
Update dependency semantic-git-commit-cli to v3.7.0 (#25)
renovate[bot] Oct 31, 2020
2fd6826
Update dependency all-contributors-cli to v6.19.0 (#22)
renovate[bot] Oct 31, 2020
7e2dca5
Pin dependency markdownlint-cli to 0.24.0 (#30)
renovate[bot] Oct 31, 2020
701fc1c
⬆️ Bump lodash from 4.17.15 to 4.17.20 (#16)
dependabot[bot] Oct 31, 2020
4183ba2
⬆️ Bump node-fetch from 2.6.0 to 2.6.1 (#15)
dependabot[bot] Oct 31, 2020
1528735
Update dependency behat/behat to v3.8.0 (#34)
renovate[bot] Nov 1, 2020
55242e2
:whale: whale: update docker image
koromerzhin Nov 1, 2020
148797d
:ambulance: ambulance: correction docker image
koromerzhin Nov 1, 2020
20a18c6
Update dependency phpstan/phpstan to v0.12.53 (#33)
renovate[bot] Nov 1, 2020
f1c565b
:alembic: alembic: add new command
koromerzhin Nov 1, 2020
75f4db0
:alembic: alembic: new linter
koromerzhin Nov 4, 2020
b78d8bb
:ambulance: ambulance: delete phpinsights
koromerzhin Nov 4, 2020
563cf52
:alembic: alembic: update makefile
koromerzhin Nov 4, 2020
2ece8a3
:green_heart: green_heart: github actions 2 files
koromerzhin Nov 4, 2020
7581a95
:green_heart: green_heart: add cache
koromerzhin Nov 5, 2020
b380622
:ambulance: ambulance: ci/cd
koromerzhin Nov 5, 2020
24bd40a
Update dependency gitmoji-changelog to v2.2.0 (#41)
renovate[bot] Jan 4, 2021
01deeef
:arrow_up: Bump ini from 1.3.5 to 1.3.8 (#40)
dependabot[bot] Jan 4, 2021
518324b
Update dependency markdownlint-cli to v0.26.0 (#39)
renovate[bot] Jan 4, 2021
3d18084
fix(ci/cd): fusion workflows
koromerzhin Jan 18, 2021
21e2e8e
fix(traefik): correction name middleware
koromerzhin Jan 19, 2021
d767243
fix(traefik): correction name middleware
koromerzhin Jan 19, 2021
98618b6
fix(makefile): merge command
koromerzhin Jan 28, 2021
cbdd184
fix(makefile): merge command
koromerzhin Jan 28, 2021
0bf40f6
fix(docker): correction deploy
koromerzhin Jan 28, 2021
fde741b
fix(ci/cd): correction
koromerzhin Jan 28, 2021
4fa13b2
fix(ci/cd): correction
koromerzhin Jan 28, 2021
39a92cc
fix(ci/cd): correction
koromerzhin Jan 28, 2021
c0a1011
fix(ci/cd): correction
koromerzhin Jan 28, 2021
22b3cd1
feat(docker): add service inspect update
koromerzhin Jan 28, 2021
40a5012
fix(makefile): correction call
koromerzhin Jan 28, 2021
4c9a8c2
fix(command): change name
koromerzhin Jan 29, 2021
2cef081
fix(url): change to phpfpm.traefik.me
koromerzhin Jan 29, 2021
85e0409
fix(url): change to phpfpm.traefik.me
koromerzhin Jan 29, 2021
ba62380
fix(url): change to phpfpm.traefik.me
koromerzhin Jan 29, 2021
4c31fa0
fix readme
koromerzhin Feb 15, 2021
da7d231
fix: correction config
koromerzhin Feb 15, 2021
3efb49a
fix(makefile): correction command
koromerzhin Feb 15, 2021
4fe5c31
fix: correction badge
koromerzhin Feb 16, 2021
3f8879e
:busts_in_silhouette: Add @renovate[bot] as a contributor
koromerzhin Feb 16, 2021
eb3fcde
:busts_in_silhouette: Add @dependabot[bot] as a contributor
koromerzhin Feb 16, 2021
1b29f35
fix(contributors): change
koromerzhin Feb 16, 2021
fea2d96
fix(Makefile): add verif
koromerzhin Feb 16, 2021
dedd733
fix(docker): add verif
koromerzhin Feb 17, 2021
b267ad2
fix(readme): corrections
koromerzhin Feb 17, 2021
27545f9
fix(readme): linter
koromerzhin Feb 17, 2021
8375cbd
fix(dependencies): update npm
koromerzhin Feb 18, 2021
983dc02
fix(ci/cd): delete useless command
koromerzhin Feb 22, 2021
92f679b
fix(docker): add mariadb/phpmyadmin/mailhog
koromerzhin Feb 22, 2021
d21b703
fix(docker): add docker command
koromerzhin Feb 22, 2021
de44589
chore(deps): update dependency all-contributors-cli to v6.20.0 (#44)
renovate[bot] Feb 22, 2021
b1a8971
chore(deps): update mariadb docker tag to v10.5.8 (#45)
renovate[bot] Feb 22, 2021
3ae6635
chore(deps): update mariadb docker tag to v10.5.9 (#47)
renovate[bot] Feb 23, 2021
0ce8cc2
chore(deps): update dependency behat/behat to v3.8.1 (#38)
renovate[bot] Feb 23, 2021
128d9c8
chore(deps): update dependency phpstan/phpstan to v0.12.78 (#37)
renovate[bot] Feb 23, 2021
005ab5e
feat: update conf
koromerzhin Feb 23, 2021
bc46473
feat(dependencies): delete semantic-git-commit-cli
koromerzhin Feb 24, 2021
63ac508
fix(readme): delete old command
koromerzhin Feb 24, 2021
d72ef35
feat(docker): update images
koromerzhin Feb 24, 2021
622b218
feat(ci/cd): update conf
koromerzhin Feb 24, 2021
18a572b
feat(ci/cd): correction name steps
koromerzhin Feb 24, 2021
b85b7c0
feat(docker): add image-pull
koromerzhin Feb 24, 2021
4a1314c
feat(dependencies): delete gitmoji-changelog
koromerzhin Feb 25, 2021
c03877c
feat(makefile): correction install
koromerzhin Feb 25, 2021
d473a0f
feat(docker): update conf
koromerzhin Feb 25, 2021
003c839
feat(docker): first composer install in container
koromerzhin Feb 25, 2021
2ed1941
feat(install): add folders
koromerzhin Feb 25, 2021
23cb952
chore(deps): update dependency phpstan/phpstan to v0.12.79 (#48)
renovate[bot] Feb 25, 2021
bbb6c3b
chore(deps): update dependency phpstan/phpstan to v0.12.80 (#50)
renovate[bot] Mar 1, 2021
68421e5
chore(deps): update dependency povils/phpmnd to v2.4.0 (#49)
renovate[bot] Mar 1, 2021
ebda179
chore(deps): update dependency phpunit/phpunit to v9.5.2 (#27)
renovate[bot] Mar 1, 2021
dae3c21
feat(dependencies): add generate-changelog & jscpd
koromerzhin Mar 1, 2021
125e061
chore(deps): pin dependencies (#54)
renovate[bot] Mar 1, 2021
43542d3
chore(deps): update dependency markdownlint-cli to v0.27.0 (#55)
renovate[bot] Mar 2, 2021
51ac7a1
chore(deps): update dependency markdownlint-cli to v0.27.1 (#56)
renovate[bot] Mar 2, 2021
6cd37a3
build(deps): bump pug-code-gen from 2.0.2 to 2.0.3 (#57)
dependabot[bot] Mar 4, 2021
2cd8c89
chore(deps): update dependency jscpd to v3.3.25 (#59)
renovate[bot] Mar 4, 2021
15076b6
feat(changelog): generate v1.0.0
koromerzhin Mar 7, 2021
1297d2a
Merge branch 'release/1.0.0'
koromerzhin Mar 7, 2021
5bb26e7
Merge tag '1.0.0' into develop
koromerzhin Mar 7, 2021
9ed1e50
chore(deps): update dependency phpstan/phpstan to v0.12.81 (#60)
renovate[bot] Mar 9, 2021
a315a9f
fix(deps): update package-lock
koromerzhin Mar 15, 2021
dde9f3d
chore(deps): update dependency phpunit/phpunit to v9.5.3 (#61)
renovate[bot] Mar 18, 2021
e008c84
chore(deps): update dependency phpstan/phpstan to v0.12.82 (#62)
renovate[bot] Mar 22, 2021
095b611
chore(deps): update dependency phpunit/phpunit to v9.5.4 (#63)
renovate[bot] Mar 23, 2021
eccf32f
build(deps): bump hosted-git-info from 2.8.8 to 2.8.9 (#73)
dependabot[bot] Jun 4, 2021
4f49ed1
chore(deps): update dependency hosted-git-info to 2.8.9 [security] (#72)
renovate[bot] Jun 4, 2021
1ccb321
chore(deps): update mariadb docker tag to v10.6.0 (#71)
renovate[bot] Jun 4, 2021
b056c31
chore(deps): update httpd docker tag to v2.4.47 (#70)
renovate[bot] Jun 4, 2021
68f2b93
chore(deps): update dependency squizlabs/php_codesniffer to v3.6.0 (#65)
renovate[bot] Jun 4, 2021
7954a50
chore(deps): update mariadb docker tag to v10.6.1 (#77)
renovate[bot] Jun 4, 2021
b86656f
chore(deps): update httpd docker tag to v2.4.48 (#76)
renovate[bot] Jun 4, 2021
cd6c3f6
chore(deps): update dependency jscpd to v3.3.26 (#74)
renovate[bot] Jun 4, 2021
ba59473
chore(deps): update dependency phpstan/phpstan to v0.12.88 (#64)
renovate[bot] Jun 4, 2021
47d8d5c
chore(deps): update phpmyadmin/phpmyadmin docker tag to v5.1.1 (#78)
renovate[bot] Jun 4, 2021
1496ea6
chore(deps): update dependency phpunit/phpunit to v9.5.5 (#79)
renovate[bot] Jun 7, 2021
8f08883
chore(deps): update dependency phpstan/phpstan to v0.12.89 (#80)
renovate[bot] Jun 11, 2021
0556de5
chore(deps): update mariadb docker tag to v10.6.2 (#82)
renovate[bot] Jun 22, 2021
8028424
chore(deps): update dependency phpstan/phpstan to v0.12.90 (#81)
renovate[bot] Jun 22, 2021
c1cadb3
fix(docker): add host
koromerzhin Jun 30, 2021
ad1f33e
feat(makefile): add arguments
koromerzhin Aug 17, 2021
85ae771
fix(makefile): correction docker init
koromerzhin Aug 17, 2021
fa760f9
feat(docker): update to lampy
koromerzhin Aug 19, 2021
bc76fc3
feat(docker): add folders
koromerzhin Aug 19, 2021
cafb525
fix(makefile): add color
koromerzhin Sep 1, 2021
4f8cfce
fix(makefile): simplification
koromerzhin Sep 2, 2021
13aa31e
fix(deps): update
koromerzhin Jan 19, 2022
dc07af8
feat(docker): use colors
koromerzhin Jan 19, 2022
d9d7b1f
feat(docker): use colors
koromerzhin Jan 19, 2022
1fe59c8
fix(makefile): commands with arguments
koromerzhin Jan 20, 2022
6dc333d
fix(makefile): docker with TTY or not
koromerzhin Jan 20, 2022
0572d4e
feat(lampy): create database
koromerzhin Jan 20, 2022
f267e71
fix(docker): launch lampy
koromerzhin Jan 20, 2022
7b30f0d
fix(docker): add serverlampy
koromerzhin Jan 20, 2022
1599d56
fix(libs): update koromerzhin-dependencies
koromerzhin Feb 1, 2022
296782e
fix(docker): use official image
koromerzhin Feb 9, 2022
41139e5
fix(doc): to download
koromerzhin May 3, 2022
accb247
feat(scripts): with korojscommands
koromerzhin Jan 18, 2023
a5c3bcf
fix(README): add help to launch
koromerzhin Jan 18, 2023
f9ee606
:busts_in_silhouette: Add @renovate[bot] as a contributor
koromerzhin Jan 18, 2023
cea95ec
:busts_in_silhouette: Add @dependabot[bot] as a contributor
koromerzhin Jan 18, 2023
6f9e057
fix(config): enable dashboard renovate
koromerzhin Jan 18, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"projectName": "phpfpm",
"projectOwner": "hackariens",
"repoType": "github",
"repoHost": "https://github.com",
"files": [
"README.md"
],
"imageSize": 100,
"commit": true,
"contributorsPerLine": 7,
"commitConvention": "gitmoji",
"badgeTemplate": "![All Contributors](https://img.shields.io/badge/all_contributors-<%= contributors.length %>-orange.svg?style=flat-square)",
"contributorTemplate": "<a href=\"<%= contributor.profile %>\"><img src=\"<%= contributor.avatar_url %>\" width=\"<%= options.imageSize %>px;\" alt=\"\"/><br /><sub><b><%= contributor.name %></b></sub></a>",
"contributors": [
{
"login": "koromerzhin",
"name": "Le TOULLEC Martial",
"avatar_url": "https://avatars0.githubusercontent.com/u/308012?v=4",
"profile": "https://github.com/koromerzhin",
"contributions": [
"code"
]
},
{
"login": "renovate[bot]",
"name": "renovate[bot]",
"avatar_url": "https://avatars.githubusercontent.com/in/2740?v=4",
"profile": "https://github.com/apps/renovate",
"contributions": [
"bug",
"code",
"maintenance"
]
},
{
"login": "dependabot[bot]",
"name": "dependabot[bot]",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"profile": "https://github.com/apps/dependabot",
"contributions": [
"bug",
"code",
"maintenance"
]
}
]
}
5 changes: 5 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
STACK=phpfpm
FOLDERPHAR=apps
FILESQL=database_init/01_phpfpm.sql
FOLDERLAMPY=lampy
DOCKERCOMPOSEFILES=docker-compose.yml docker-compose-lampy.yml
37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: ci
on: [push]
jobs:
tests:
runs-on: ${{ matrix.operating-system }}
strategy:
fail-fast: false
matrix:
operating-system: [ubuntu-20.04]
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: Repository lampy
uses: actions/checkout@v3
with:
submodules: recursive
ref: 'v2.0'
repository: koromerzhin/lampy
path: lampy
- name: Install npm dependencies
run: npm install
- name: 'set .env'
run: 'cp .env.example .env'
- name: 'SET BDD'
run: npm run bdd:mariadb
- name: 'Launch Lampy'
run: cd lampy && npm run exec
- name: 'Image pull'
run: npm run docker:getpull-image
- name: 'Build containers'
run: npm run docker:deploy
- name: 'Waiting'
run: npm run docker:waiting
- name: linter readme.md
run: npm run lint:markdown
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
# composer.lock
node_modules
apps/node_modules/
apps/vendor
apps/bin
6 changes: 6 additions & 0 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "stylelint-config-standard",
"rules": {
"unit-no-unknown": true
}
}
113 changes: 113 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
# Welcome to @hackariens/phpfpm 👋

![Version](https://img.shields.io/badge/version-1.0.0-blue.svg?cacheSeconds=2592000)
![Documentation](https://img.shields.io/badge/documentation-yes-brightgreen.svg)
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/hackariens/phpfpm/graphs/commit-activity)
![Continuous Integration](https://github.com/hackariens/phpfpm/workflows/ci/badge.svg?branch=develop)

> Templates pour la création d'un nouveau projet phpfpm

## 🏠 [Homepage](https://github.com/hackariens/phpfpm#readme)

<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
![All Contributors](https://img.shields.io/badge/all_contributors-3-orange.svg?style=flat-square)
<!-- ALL-CONTRIBUTORS-BADGE:END -->

## Need

Software:

- npm
- docker
- repository koromerzhin/lampy

Config:

docker swarm

Hosts:

- phpmfpm.traefik.me

## Download

```sh
git clone --recurse-submodules git@github.com:hackariens/phpfpm.git phpfpm
cd phpfpm
```

## Environnment

Edit .env with .env.example

## Install

``` sh
npm install
```

## Launch

``` sh
npm run exec
```

## Author

👤 **koromerzhin**

- Website: [https://www.letoullec.fr](https://www.letoullec.fr)
- Twitter: [@koromerzhin](https://twitter.com/koromerzhin)
- Github: [@koromerzhin](https://github.com/koromerzhin)
- LinkedIn: [@koromerzhin](https://linkedin.com/in/koromerzhin)

## 🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check
[issues page](https://github.com/hackariens/phpfpm/issues).
You can also take a look at the
[contributing guide](https://github.com/hackariens/phpfpm/blob/develop/CONTRIBUTING.md).

## Show your support

Give a ⭐️ if this project helped you!

## 📝 License

Copyright © 2019 [koromerzhin](https://github.com/koromerzhin).

This project is
[MIT](https://github.com/hackariens/phpfpm/blob/develop/LICENSE) licensed.

## ✨ Contributors

Thanks goes to these wonderful people
([emoji key](https://allcontributors.org/docs/en/emoji-key)):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
<tbody>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/koromerzhin"><img src="https://avatars0.githubusercontent.com/u/308012?v=4" width="100px;" alt=""/><br /><sub><b>Le TOULLEC Martial</b></sub></a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/apps/renovate"><img src="https://avatars.githubusercontent.com/in/2740?v=4" width="100px;" alt=""/><br /><sub><b>renovate[bot]</b></sub></a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/apps/dependabot"><img src="https://avatars.githubusercontent.com/in/29110?v=4" width="100px;" alt=""/><br /><sub><b>dependabot[bot]</b></sub></a></td>
</tr>
</tbody>
</table>

<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->

<!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the
[all-contributors](https://github.com/all-contributors/all-contributors)
specification. Contributions of any kind welcome!

---

_This README was generated with ❤️ by
[readme-md-generator](https://github.com/kefranabg/readme-md-generator)_
Empty file added apps/behat.yaml
Empty file.
28 changes: 28 additions & 0 deletions apps/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "apps/phpfpm",
"type": "project",
"license": "MIT",
"description": "Template de projet en PHPFPM",
"require": {},
"config": {
"bin-dir": "bin"
},
"scripts": {
"phpcbf": "phpcbf -d memory_limit=-1 --report=diff -p --extensions=php",
"phpcs-onlywarning": "phpcs src features/bootstrap tests --report=full --extensions=php --error-severity=0",
"phpcs-onlyerror": "phpcs src features/bootstrap tests --report=full --extensions=php --warning-severity=0",
"phpcs": "phpcs src features/bootstrap tests --report=full --extensions=php",
"phpstan": "phpstan analyse src features/bootstrap tests --ansi",
"phpmnd": "phpmnd src,features/bootstrap,tests",
"behat": "behat --config behat.yaml",
"phpunit": "phpunit",
"phpunit-unit-integration": "phpunit --testsuite unit,integration"
},
"require-dev": {
"behat/behat": "3.8.1",
"phpstan/phpstan": "0.12.90",
"squizlabs/php_codesniffer": "3.6.0",
"povils/phpmnd": "2.4.0",
"phpunit/phpunit": "9.5.5"
}
}
Loading