Skip to content

Commit 45ae9b8

Browse files
committed
Laravel package working
1 parent 7eb969a commit 45ae9b8

25 files changed

+948
-41
lines changed

.github/CONTRIBUTING.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Contributing Guide
2+
3+
Thank you for considering contributing to Laravel UTM Tracker!
4+
5+
## How to Contribute
6+
7+
- Fork the repository and create your branch from `main`.
8+
- If you've fixed a bug or added a feature, add tests for it if possible.
9+
- Ensure the test suite passes (`composer test`).
10+
- Submit a pull request with a clear description of your changes.
11+
12+
## Code Style
13+
14+
- Follow PSR-12 coding standards.
15+
- Use meaningful commit messages.
16+
- Keep pull requests focused and minimal.
17+
18+
## Reporting Issues
19+
20+
- Use the issue tracker for bug reports and feature requests.
21+
- Provide as much detail as possible, including steps to reproduce and environment info.
22+
23+
## Community
24+
25+
- Be respectful and follow the [Code of Conduct](../CODE_OF_CONDUCT.md).
26+
- All contributions, issues, and discussions are welcome!
27+
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
name: Bug Report
3+
about: Create a report to help us improve
4+
labels: bug
5+
---
6+
7+
**Describe the bug**
8+
A clear and concise description of what the bug is.
9+
10+
**To Reproduce**
11+
Steps to reproduce the behavior:
12+
1. Go to '...'
13+
2. Run '...'
14+
3. See error
15+
16+
**Expected behavior**
17+
A clear and concise description of what you expected to happen.
18+
19+
**Screenshots/Logs**
20+
If applicable, add screenshots or logs to help explain your problem.
21+
22+
**Environment (please complete the following information):**
23+
- PHP version:
24+
- Laravel version:
25+
- Package version:
26+
27+
**Additional context**
28+
Add any other context about the problem here.
29+
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
name: Feature Request
3+
about: Suggest an idea for this project
4+
labels: enhancement
5+
---
6+
7+
**Is your feature request related to a problem? Please describe.**
8+
A clear and concise description of what the problem is.
9+
10+
**Describe the solution you'd like**
11+
A clear and concise description of what you want to happen.
12+
13+
**Describe alternatives you've considered**
14+
A clear and concise description of any alternative solutions or features you've considered.
15+
16+
**Additional context**
17+
Add any other context or screenshots about the feature request here.
18+

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Pull Request
2+
3+
## Description
4+
5+
Please include a summary of the change and which issue is fixed. Also include relevant motivation and context.
6+
7+
Fixes # (issue)
8+
9+
## Type of change
10+
- [ ] Bug fix
11+
- [ ] New feature
12+
- [ ] Breaking change
13+
- [ ] Documentation update
14+
15+
## Checklist
16+
- [ ] I have read the [CONTRIBUTING](../CONTRIBUTING.md) document.
17+
- [ ] Tests pass locally with my changes.
18+
- [ ] I have added tests that prove my fix is effective or that my feature works.
19+
- [ ] I have added necessary documentation (if appropriate).
20+

.github/SECURITY.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Security Policy
2+
3+
If you discover any security related issues, please email codetreedev@gmail.com instead of using the issue tracker.
4+
5+
We will respond as quickly as possible and keep all communications confidential.
6+

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main, master ]
6+
pull_request:
7+
branches: [ main, master ]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
php: [8.1, 8.2, 8.3]
15+
steps:
16+
- uses: actions/checkout@v4
17+
- name: Set up PHP
18+
uses: shivammathur/setup-php@v2
19+
with:
20+
php-version: ${{ matrix.php }}
21+
extensions: mbstring, pdo, sqlite, dom
22+
coverage: none
23+
- name: Install dependencies
24+
run: composer install --prefer-dist --no-interaction --no-progress
25+
- name: Run tests
26+
run: composer test
27+

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
composer.lock
2+
vendor/
3+
.idea/
4+
.phpunit.cache

.idea/laravel-idea.xml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/laravel-utm-tracker.iml

Lines changed: 106 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)