Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
localzet committed Aug 21, 2024
0 parents commit 3ad55e9
Show file tree
Hide file tree
Showing 45 changed files with 3,103 additions and 0 deletions.
82 changes: 82 additions & 0 deletions .env.examlpe
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
# App
APP_DEBUG=true
APP_NAME='Triangle App'

APP_TIMEZONE='Europe/Moscow'

CONTROLLER_REUSE=true
CONTROLLER_SUFFIX=''

# Service (container)
APP_SERVICES=false

# Database
DB_CONNECTION='mysql'
DB_HOST='127.0.0.1'
DB_PORT=3306
DB_DATABASE='triangle'
DB_USERNAME='root'
DB_PASSWORD=''

# Log
LOG_FILE_NAME='logs/triangle.log'
LOG_FILE_COUNT=7
LOG_FILE_LEVEL='debug'
LOG_FILE_FORMAT=null
LOG_FILE_DATE_FORMAT='Y-m-d H:i:s'
LOG_FILE_INLINE_BREAKS=true

# File Monitor
PROCESS_FILE_MONITOR=true

# Redis
REDIS_CLIENT='predis'
REDIS_CLUSTER='redis'

REDIS_PREFIX='triangle_'
REDIS_PREFIX_SESSION='triangle_session_'

REDIS_HOST='127.0.0.1'
REDIS_PORT=6379
REDIS_PASSWORD=null

REDIS_DB=0
REDIS_DB_CACHE=1
REDIS_DB_SESSION=2

# Server
SERVER_LISTEN='http://0.0.0.0:8000'
SERVER_TRANSPORT='tcp'
SERVER_COUNT
SERVER_USER=''
SERVER_GROUP=''
SERVER_REUSE_PORT=false
SERVER_STOP_TIMEOUT=2

SERVER_SSL_CERT='/etc/letsencrypt/live/example.com/fullchain.pem'
SERVER_SSL_CERT_KEY='/etc/letsencrypt/live/example.com/privkey.pem'
SERVER_SSL_VERIFY_PEER=false

SERVER_FILE_PID='triangle.pid'
SERVER_FILE_STATUS='triangle.status'
SERVER_FILE_STDOUT='logs/stdout.log'
SERVER_FILE_LOG='logs/server.log'

# Session
SESSION_TYPE='file'
SESSION_LIFETIME=604800
SESSION_AUTO_UPDATE=false
SESSION_COOKIE_NAME='PHPSID'
SESSION_COOKIE_LIFETIME=31536000
SESSION_COOKIE_PATH='/'
SESSION_COOKIE_DOMAIN=''
SESSION_COOKIE_HTTP_ONLY=true
SESSION_COOKIE_SECURE=false
SESSION_COOKIE_SAME_SITE=''

# Static
STATIC_ENABLE=true

# View
VIEW_HANDLER='raw'
VIEW_SUFFIX='phtml'
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto
41 changes: 41 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
name: Bug report
about: Create a report to help us improve
title: "[BUG]"
labels: Баг
assignees: localzet

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**

- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**

- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/custom.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: Custom issue template
about: Describe this issue template's purpose here.
title: ''
labels: ''
assignees: localzet

---


20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: "[FEATURE]"
labels: Улучшение
assignees: localzet

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
Loading

0 comments on commit 3ad55e9

Please sign in to comment.