Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
485 commits
Select commit Hold shift + click to select a range
79e76bf
Update test8.svg
nielsdrost7 May 11, 2025
cea59a2
Update test8.svg
nielsdrost7 May 11, 2025
83d6b74
Update test8.svg
nielsdrost7 May 11, 2025
e2f064b
Update test8.svg
nielsdrost7 May 11, 2025
a604bf8
Update test8.svg
nielsdrost7 May 11, 2025
8154584
Update test8.svg
nielsdrost7 May 11, 2025
55e0f5b
Update test8.svg
nielsdrost7 May 11, 2025
9ccb8b4
Update test8.svg
nielsdrost7 May 11, 2025
716546f
Create green-check-10.svg
nielsdrost7 May 11, 2025
dad1c62
Update green-check-10.svg
nielsdrost7 May 11, 2025
8e88a99
Update green-check-10.svg
nielsdrost7 May 11, 2025
3e9cb8e
Update green-check-10.svg
nielsdrost7 May 11, 2025
550facc
Update green-check-10.svg
nielsdrost7 May 11, 2025
2dd244e
Update green-check-10.svg
nielsdrost7 May 11, 2025
3475d3d
Update green-check-10.svg
nielsdrost7 May 11, 2025
ae610c1
Update green-check-10.svg
nielsdrost7 May 11, 2025
9fe1bc2
Update green-check-10.svg
nielsdrost7 May 11, 2025
4eba3ff
Update green-check-10.svg
nielsdrost7 May 11, 2025
18e4c59
Update green-check-10.svg
nielsdrost7 May 11, 2025
c747174
Update green-check-10.svg
nielsdrost7 May 11, 2025
071455e
Update green-check-10.svg
nielsdrost7 May 11, 2025
98edd82
Update green-check-10.svg
nielsdrost7 May 11, 2025
a6ec150
CLOSE!
nielsdrost7 May 11, 2025
4f15224
Close!
nielsdrost7 May 11, 2025
182baa0
Update green-check-10.svg
nielsdrost7 May 11, 2025
43624ea
Update test8.svg
nielsdrost7 May 11, 2025
8a951b6
very close!
nielsdrost7 May 11, 2025
126917c
almost!
nielsdrost7 May 11, 2025
9e4bcd9
very close
nielsdrost7 May 11, 2025
7ac6081
Update test8.svg
nielsdrost7 May 11, 2025
d3c910d
Update test8.svg
nielsdrost7 May 11, 2025
57958a5
Tip shadow 32 too low go 27
nielsdrost7 May 11, 2025
643d411
WIP commit
nielsdrost7 May 11, 2025
7555397
Update CONTRIBUTING.md
nielsdrost7 May 12, 2025
5d5d41d
Update CONTRIBUTING.md
nielsdrost7 May 12, 2025
3441442
Create INSTALLATION.md
nielsdrost7 May 12, 2025
51ab19a
Update INSTALLATION.md
nielsdrost7 May 12, 2025
14745e6
Create SECURITY.md
nielsdrost7 May 12, 2025
d8ac4ac
Update SECURITY.md
nielsdrost7 May 12, 2025
b154cba
Update SECURITY.md
nielsdrost7 May 12, 2025
3f6ea59
Update README.md
nielsdrost7 May 12, 2025
0d2de78
Create TRANSLATIONS.md
nielsdrost7 May 12, 2025
50c69a5
Update TRANSLATIONS.md
nielsdrost7 May 12, 2025
87f1974
Update TRANSLATIONS.md
nielsdrost7 May 12, 2025
cb033a3
Update INSTALLATION.md
nielsdrost7 May 12, 2025
3f1b851
Update INSTALLATION.md
nielsdrost7 May 12, 2025
6433fb7
Update INSTALLATION.md
nielsdrost7 May 12, 2025
a79936c
Create bug_report.yml
nielsdrost7 May 12, 2025
b3b5c0c
Update bug_report.yml
nielsdrost7 May 12, 2025
edeee57
Create feature_request.yml
nielsdrost7 May 12, 2025
5f78320
Create SEEDING.md
nielsdrost7 May 12, 2025
c09caf4
Create QUICKSTART.md
nielsdrost7 May 12, 2025
1a48a11
Create DOCKER.md
nielsdrost7 May 12, 2025
f4bff41
Create SETUP.md
nielsdrost7 May 12, 2025
1c1ce9d
Create pull request template (standard)
nielsdrost7 May 12, 2025
cb6a4db
Create UPGRADE.md
nielsdrost7 May 12, 2025
4b2a41e
Create IMPORTING.md
nielsdrost7 May 12, 2025
b5ecffe
Update IMPORTING.md
nielsdrost7 May 12, 2025
4334b70
Update IMPORTING.md
nielsdrost7 May 12, 2025
771483b
Update phpstan.yml
nielsdrost7 May 12, 2025
281b62d
Update pint.yml
nielsdrost7 May 12, 2025
b5c1419
Update phpunit.yml
nielsdrost7 May 12, 2025
fd9be6d
Create docker.yml
nielsdrost7 May 12, 2025
0c686db
Create quickstart.yml
nielsdrost7 May 12, 2025
3c26907
Update quickstart.yml
nielsdrost7 May 12, 2025
121c149
Update quickstart.yml
nielsdrost7 May 12, 2025
18ba4d5
Update .gitignore
nielsdrost7 May 12, 2025
664c40d
Update .gitignore
nielsdrost7 May 12, 2025
0008fd4
cleanup and lots of fixes, prep to test again
May 12, 2025
c74683c
cleanup and lots of fixes, prep to test again
May 12, 2025
4147cf6
cleanup and lots of fixes, prep to test again
May 12, 2025
4ab43f7
Tested Expenses / Expense Categories
May 12, 2025
0bfdf01
Lots of fixes
May 12, 2025
3b8663d
Tested Payments
May 12, 2025
60fd912
Tested ProductCategories
May 12, 2025
44d4565
cleanup
May 12, 2025
28631d8
Intermediary commit
May 14, 2025
39cb1cd
Initial files `develop` branch
May 28, 2025
9f57712
Intermediary commit
May 29, 2025
6a83251
Update CONTRIBUTING.md
nielsdrost7 May 31, 2025
a899253
Update QUICKSTART.md
nielsdrost7 May 31, 2025
c6ca590
Update SETUP.md
nielsdrost7 May 31, 2025
8277f9b
cleaned up some configs
May 31, 2025
84c4925
Parse error in InvoiceResource
May 31, 2025
f3b9537
Feature/prep filament v4 (#23)
nielsdrost7 Jun 1, 2025
cfdade9
Filament 4
Jun 1, 2025
8c13de6
Filament v4
Jun 1, 2025
428afbb
Filament 4
Jun 1, 2025
5f374b6
Filament v4: More fixes
Jun 1, 2025
93ce4ee
Filament 4: removed the Results and the Reports for now
Jun 1, 2025
970deb5
Added Filament again
Jun 2, 2025
83bff0c
Filament v4: More fixes
Jun 2, 2025
90b914c
Filament v4: More fixes
Jun 2, 2025
29b8ac7
Filament v4: Disabled some tests
Jun 3, 2025
7f0ab79
Fixed up some tests
Jun 3, 2025
176309c
Filament v4: Fixed some phpStan errors
Jun 3, 2025
8b38b55
Filament v4: Fixed some phpStan errors
Jun 3, 2025
3a1b0e0
fixed and sorted phpstan ignore rules
Jun 3, 2025
6b193a0
tried to fix CompaniesTest
Jun 3, 2025
4b85f4e
new baseline
Jun 3, 2025
4b5a119
some adminpanel tests
Jun 3, 2025
9c8e2d8
workflows manual trigger
Jun 3, 2025
67d4402
remove unused test class
Jun 3, 2025
8cba12b
Fixed some Modal tests (AdminPanel)
Jun 3, 2025
6701571
Fixed some Modal tests (AdminPanel)
Jun 3, 2025
0976ec8
More Modals tests
Jun 3, 2025
aa0daf1
Prevent double hashing of passwords
Jun 4, 2025
68cd77f
Tiny fix in Projects Table: 'project_name'
Jun 4, 2025
33a6f7c
Proper custom dashboards
Jun 4, 2025
d0831a5
current tenant label
Jun 4, 2025
488fb16
setting company_id = 1 on login
Jun 4, 2025
4d4c650
Custom Dashboard same as Base Dashboard
Jun 4, 2025
e651cb9
Custom Dashboard same as Base Dashboard
Jun 4, 2025
62de303
Wip
Jun 4, 2025
957e11f
Cleanup and packages update
nielsdrost7 Jul 13, 2025
519d8eb
Improved Dashboard to match Filament v4 style
nielsdrost7 Jul 13, 2025
de822c9
Cleanup
nielsdrost7 Jul 13, 2025
ab0a6f5
Feature: Implement multi-tenancy (#38)
nielsdrost7 Jul 19, 2025
a450241
link to Installation guide didn't work
nielsdrost7 Jul 26, 2025
3450ee0
[IP-39]: cache table created (#40)
Dayne-Valourite Aug 7, 2025
917ee2e
Added some missing translations, #50 (#51)
HeapReaper Aug 8, 2025
d6e42a0
create and edit through modals (#53)
nielsdrost7 Aug 11, 2025
85d0e43
Update CONTRIBUTING.md
nielsdrost7 Aug 13, 2025
78e161d
Create CHECKLIST.md
nielsdrost7 Aug 13, 2025
221c340
Update CHECKLIST.md
nielsdrost7 Aug 13, 2025
935eed7
Update CHECKLIST.md
nielsdrost7 Aug 13, 2025
66256d4
Update CHECKLIST.md
nielsdrost7 Aug 13, 2025
c2e2a9a
Update CHECKLIST.md
nielsdrost7 Aug 13, 2025
55245da
Feature: Remove update tests fix delete tests (#54)
nielsdrost7 Sep 1, 2025
18197aa
Added missing translation keys
nielsdrost7 Sep 1, 2025
8480f2f
Projects Form
nielsdrost7 Sep 1, 2025
3b9014a
Translation keys
nielsdrost7 Sep 1, 2025
0f5036a
Added Laravel Boost
nielsdrost7 Sep 2, 2025
fda08cf
[IP-13][Core]: As a user_admin, I want to view and edit system settin…
HeapReaper Sep 3, 2025
589761f
all dates on all creates need to display current date as default refs…
nielsdrost7 Sep 3, 2025
d276960
[IP-76]: when a user is inactive, he is not supposed to be able to lo…
nielsdrost7 Sep 3, 2025
8166e1b
Just github copilot instructions
nielsdrost7 Sep 7, 2025
7db3afb
Add CodeRabbit AI Review Configuration
nielsdrost7 Oct 12, 2025
f01b140
[IP-99]: Uploads / Imports for Clients, Payments, Invoices, etcetera …
nielsdrost7 Oct 26, 2025
c9f56c6
Delete .coderabbit.yaml
nielsdrost7 Oct 26, 2025
a1ff6b3
Add tech stack, dev commands, and documentation refs to Copilot instr…
Copilot Oct 26, 2025
6ff6622
[IP-115] finish up and merge older default issues (#274)
nielsdrost7 Dec 29, 2025
d610728
Refactor release workflow for manual triggering with comprehensive lo…
Copilot Dec 29, 2025
8d446e2
Fix code review issues: factory calls, debug statements, and type hin…
Copilot Dec 29, 2025
390f33d
Add dependency automation, i18n fixes, and maintenance documentation …
Copilot Dec 29, 2025
2d4c896
Remove emotional language and add Crowdin automation workflow (#290)
Copilot Dec 29, 2025
d5addc4
Refactor tests to extend AbstractTestCase from Modules/Core/Tests (#291)
Copilot Dec 29, 2025
5d3fbbb
Fix Vite build failure and enhance yarn-update workflow (#292)
Copilot Dec 29, 2025
025ccad
Comment out test/lint steps in composer-update workflow (#293)
Copilot Dec 29, 2025
22055c0
Fix test infrastructure: CreatesApplication trait, incomplete tests, …
Copilot Dec 30, 2025
fd40065
Update Modules/Core/Http/Middleware/SetTenantFromQueryString.php
nielsdrost7 Dec 30, 2025
d903ba7
Update Modules/Expenses/Tests/Feature/ExpenseCategoriesTest.php
nielsdrost7 Dec 30, 2025
85b7ea6
Update Modules/Core/Services/CompanyDefaultsBootstrapService.php
nielsdrost7 Dec 30, 2025
a4c9578
Set delete-branch to false in composer-update.yml
nielsdrost7 Dec 30, 2025
9d63671
Enhance AbstractNumberGenerator docblock with implementation requirem…
Copilot Dec 30, 2025
3e1ad0b
Prevent automatic deletion of update branch
nielsdrost7 Dec 30, 2025
6775782
Fix GitHub Actions PR creation by requiring PAT instead of GITHUB_TOK…
Copilot Dec 30, 2025
4d3c71f
Fix yarn-update workflow: add composer dependencies and graceful buil…
Copilot Dec 30, 2025
2ff36e5
style: apply Laravel Pint fixes
github-actions[bot] Dec 30, 2025
57f9cc1
Add PAT_TOKEN requirement to crowdin-sync workflow (#299)
Copilot Dec 30, 2025
aea9276
Fix package name display in composer-update workflow output (#302)
Copilot Dec 30, 2025
27cb122
chore(deps): Update Yarn dependencies (security-updates) (#301)
nielsdrost7 Dec 30, 2025
80d26da
chore(deps): Update Composer dependencies (security-patch) (#300)
nielsdrost7 Dec 30, 2025
509906c
style: apply Laravel Pint fixes
github-actions[bot] Dec 30, 2025
9c6c07a
Fix PHPStan type inference for Company factory in CreateReportTemplat…
Copilot Dec 30, 2025
aca434d
Add missing .env.testing.example for CI workflows and standardize tes…
Copilot Dec 30, 2025
c99166b
Enable Pint workflow on PRs to master/develop with best practices doc…
Copilot Dec 30, 2025
38aecca
style: apply Laravel Pint fixes
github-actions[bot] Dec 30, 2025
ad59dcc
Fix PHPStan type errors across test files and source code (~55 errors…
Copilot Dec 30, 2025
1b3e38e
style: apply Laravel Pint fixes
github-actions[bot] Dec 30, 2025
d0fdb83
Remove MySQL dependency from all test workflows, use SQLite in-memory…
Copilot Dec 30, 2025
08c7df0
style: apply Laravel Pint fixes
github-actions[bot] Dec 30, 2025
cd590b3
Update Dependabot configuration for yarn package manager (#310)
Copilot Dec 30, 2025
15a73c1
Configure Pint workflow to use --dirty flag for PRs and add mode sele…
Copilot Dec 30, 2025
7928a6d
style: apply Laravel Pint fixes
github-actions[bot] Dec 30, 2025
183cb5c
Remove redundant composer update in release workflow (#313)
Copilot Dec 30, 2025
0a430d8
Update release workflow to start with v2.0.0-alpha.2 (#314)
Copilot Dec 30, 2025
1d24b8d
Fix PHPUnit test failures: NOT NULL constraint and timestamp format m…
Copilot Dec 30, 2025
dad2f3e
Fix vendor cleaner: remove non-existent command and add required conf…
Copilot Dec 30, 2025
10ab897
Fix PHPStan type inference errors across models, seeders, tests, and …
Copilot Dec 30, 2025
b9fca26
Enhance PHPStan workflow with JSON parsing and actionable reporting (…
Copilot Dec 30, 2025
ab6ea68
Fix composer.lock sync issue: remove vendor-cleaner from permanent de…
Copilot Dec 30, 2025
662c383
fix: remove automatic reviewer assignment from automated PR workflows…
Copilot Dec 30, 2025
6ee586a
Simplify all-dependencies update with composer bump (#322)
Copilot Dec 30, 2025
d8d8f8a
chore(deps): Update Composer dependencies (all-dependencies) (#319)
nielsdrost7 Dec 30, 2025
6ff71eb
Fix date format mismatch in test assertions (#323)
Copilot Dec 31, 2025
1ab48e7
Replace MySQL FIELD() with database-agnostic CASE for task ordering (…
Copilot Dec 31, 2025
bb52f73
Remove timestamp from PHPStan report artifact (#326)
Copilot Dec 31, 2025
530b45d
Fix all 60 PHPStan type safety errors across Peppol handlers, tests, …
Copilot Dec 31, 2025
916deaf
Implement 33 PHPUnit tests with full AAA structure and remove all inc…
Copilot Dec 31, 2025
2246f7c
Fix PHPUnit test failures: missing Settings view, database setup, and…
Copilot Dec 31, 2025
82acb68
Fix static property override in DesignReportTemplate (#329)
Copilot Dec 31, 2025
f5c6011
Fix undefined variable typo in ApiClient, NOT NULL constraint violati…
Copilot Dec 31, 2025
4801172
Fix PHPStan type safety errors in test files (#331)
Copilot Dec 31, 2025
33eab3f
Fix test failures: correct field names, factory constraints, enum typ…
Copilot Dec 31, 2025
e0e28d7
Consolidate documentation and optimize CI with Composer caching (#333)
Copilot Jan 1, 2026
9afd9e9
composer, yarn, ran pint
nielsdrost7 Jan 1, 2026
ecd05ea
baseline for phpstan
nielsdrost7 Jan 1, 2026
ff63f14
Remove 'hot' file that was always live-reloading my project
nielsdrost7 Jan 1, 2026
0240bfa
Improvements Customers Modal
nielsdrost7 Jan 1, 2026
236e082
composer update
nielsdrost7 Jan 2, 2026
ee753f8
Update PHP version from 8.2 to 8.4 in workflow
nielsdrost7 Jan 2, 2026
6ba8e18
style: apply Laravel Pint fixes
github-actions[bot] Jan 2, 2026
1f0e1a3
Fix Crowdin GitHub Action configuration and add comprehensive documen…
Copilot Jan 4, 2026
9feccba
Merge branch for non-peppol files
nielsdrost7 Jan 8, 2026
2eb9188
Merge branch for non-peppol files
nielsdrost7 Jan 8, 2026
197f163
Merge branch for non-peppol files
nielsdrost7 Jan 8, 2026
999eba1
Merge branch 'chore/temp-merge-branch' into develop
nielsdrost7 Jan 8, 2026
897ae7c
style: apply Laravel Pint fixes
github-actions[bot] Jan 8, 2026
28a34e0
Update PHP version from 8.2 to 8.4 in workflow
nielsdrost7 Jan 8, 2026
e620093
Update quickstart.yml
nielsdrost7 Jan 8, 2026
7c584e3
Add setup workflow with error handling and fix AddressFactory Faker i…
Copilot Jan 9, 2026
330b4cd
Composer for php 8.2
nielsdrost7 Jan 9, 2026
d790f66
cleanup and improve composer.json for php 8.2
nielsdrost7 Jan 11, 2026
5694d80
improve composer.json for php 8.2
nielsdrost7 Jan 11, 2026
f786e16
More cleanup
nielsdrost7 Jan 11, 2026
3deb130
More cleanup for phpunit tests
nielsdrost7 Jan 11, 2026
26832f0
more cleanup for phpunit tests
nielsdrost7 Jan 11, 2026
ead4a15
more cleanup for phpunit tests
nielsdrost7 Jan 11, 2026
201dd26
more cleanup for phpunit tests
nielsdrost7 Jan 11, 2026
2d14474
more cleanup for phpunit tests
nielsdrost7 Jan 11, 2026
644dce7
more cleanup for phpunit tests
nielsdrost7 Jan 11, 2026
c6657e3
more cleanup for phpunit tests
nielsdrost7 Jan 11, 2026
7145cca
more cleanup for phpunit tests
nielsdrost7 Jan 11, 2026
2dd220f
more cleanup for phpunit tests
nielsdrost7 Jan 11, 2026
328badc
Fix incorrect Filament component references in settings view (#352)
Copilot Jan 11, 2026
a326aa8
more cleanup for phpunit tests
nielsdrost7 Jan 11, 2026
b2866ce
more cleanup for phpunit tests
nielsdrost7 Jan 11, 2026
35c8502
more cleanup for phpunit tests
nielsdrost7 Jan 11, 2026
4fb882c
more cleanup for phpunit tests
nielsdrost7 Jan 11, 2026
a292fdb
more cleanup for phpunit tests
nielsdrost7 Jan 11, 2026
153be8f
more cleanup for phpunit tests
nielsdrost7 Jan 11, 2026
6d7c30a
more cleanup for phpunit tests
nielsdrost7 Jan 11, 2026
09838ad
more cleanup for phpunit tests
nielsdrost7 Jan 11, 2026
9130889
Fix enum injection, HTTP mocking, and logging in Peppol test suite (#…
Copilot Jan 11, 2026
7402610
more cleanup for phpunit tests
nielsdrost7 Jan 11, 2026
b770775
more cleanup for phpunit tests
nielsdrost7 Jan 11, 2026
4998993
more cleanup for phpunit tests
nielsdrost7 Jan 11, 2026
c2b2e57
more cleanup for phpunit tests
nielsdrost7 Jan 11, 2026
1b8ae19
more cleanup for phpunit tests
nielsdrost7 Jan 11, 2026
1a1c34e
more cleanup for phpunit tests
nielsdrost7 Jan 11, 2026
42f1f15
more cleanup for phpunit tests
nielsdrost7 Jan 11, 2026
e28f64b
Fix HTTP client exception handling, validation, consolidate documenta…
Copilot Jan 11, 2026
8e1e6df
More cleanup for phpunit tests
nielsdrost7 Jan 12, 2026
3f7730c
more changed files apparently
nielsdrost7 Jan 12, 2026
0c7c4a4
Potential fix for code scanning alert no. 1: Workflow does not contai…
nielsdrost7 Jan 16, 2026
98b7360
Potential fix for code scanning alert no. 2: Workflow does not contai…
nielsdrost7 Jan 16, 2026
e61b483
Potential fix for code scanning alert no. 3: Workflow does not contai…
nielsdrost7 Jan 16, 2026
6dd07ab
Potential fix for code scanning alert no. 4: Workflow does not contai…
nielsdrost7 Jan 16, 2026
f937dda
Potential fix for code scanning alert no. 5: Workflow does not contai…
nielsdrost7 Jan 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
17 changes: 9 additions & 8 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ APP_NAME="InvoicePlane v2"
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_EXTREME_LOGGING=false
DEBUGBAR_ENABLED=false
APP_URL=http://localhost.test
APP_URL=http://ivplv2.test

APP_LOCALE=en
APP_FALLBACK_LOCALE=en
Expand All @@ -24,25 +25,25 @@ LOG_LEVEL=debug
DB_CONNECTION=mariadb
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=localhost
DB_DATABASE=ivplv2
DB_USERNAME=root
DB_PASSWORD=root
DB_PASSWORD=

SESSION_DRIVER=redis
SESSION_DRIVER=database
SESSION_LIFETIME=120
SESSION_ENCRYPT=false
SESSION_PATH=/
SESSION_DOMAIN=null

BROADCAST_CONNECTION=log
FILESYSTEM_DISK=local
QUEUE_CONNECTION=beanstalkd
QUEUE_CONNECTION=database

CACHE_STORE=redis
CACHE_PREFIX=localhost
CACHE_STORE=database
# CACHE_PREFIX=ivplv2

REDIS_CLIENT=phpredis
REDIS_HOST=redis
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

Expand Down
59 changes: 59 additions & 0 deletions .env.testing.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
APP_NAME="InvoicePlane v2"
APP_ENV=testing
APP_KEY=
APP_DEBUG=false
APP_EXTREME_LOGGING=false
DEBUGBAR_ENABLED=false
APP_URL=http://localhost

APP_LOCALE=en
APP_FALLBACK_LOCALE=en
APP_FAKER_LOCALE=en_US

APP_MAINTENANCE_DRIVER=file

PHP_CLI_SERVER_WORKERS=4

BCRYPT_ROUNDS=4

LOG_CHANNEL=stack
LOG_DAILY_DAYS=7
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug

DB_CONNECTION=sqlite
DB_DATABASE=:memory:

SESSION_DRIVER=array
SESSION_LIFETIME=120
SESSION_ENCRYPT=false
SESSION_PATH=/
SESSION_DOMAIN=null

BROADCAST_CONNECTION=log
FILESYSTEM_DISK=local
QUEUE_CONNECTION=sync

CACHE_STORE=array

REDIS_CLIENT=phpredis
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_MAILER=array
MAIL_SCHEME=null
MAIL_HOST=127.0.0.1
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_FROM_ADDRESS="[email protected]"
MAIL_FROM_NAME="${APP_NAME}"

AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=
AWS_USE_PATH_STYLE_ENDPOINT=false

VITE_APP_NAME="${APP_NAME}"
64 changes: 64 additions & 0 deletions .github/CHECKLIST.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# InvoicePlane V2 – Feature Test Checklist

I've written some tests. Indexes first. After indexes, the statuses, etc. After that the special cases, exceptions, etc., then the Create, Update, Delete actions within the different *modules*.
Some *modules* had a *sub page*. For example: Invoices have invoice_groups as a *sub page*.
Maybe I'll do the *settings* per module as a separate row in this checklist.

## Notes (Invoices)
- Tests for overdue invoices are missing:
- If status NOT IN (1,4) and DATEDIFF((NOW), invoice_date_due) > 0 then `is_overdue` is true
- Make special scope for overdue invoices
- Test for that scope

## Notes (Quotes)
- The notes in the index, I've not ported them over from CodeIgniter.
- For now, it's silly to put notes in an index. It's easily added though.

---

## Test Coverage

| Module | Submodule | Index (happy) | Specials (happy) | Create (happy) | Update (happy) | Delete (happy) | Translations |
|-----------|------------------|:-------------:|:----------------:|:--------------:|:--------------:|:--------------:|:------------:|
| clients | | | | | | | |
| | user_clients | | | | | | |
| core | | | | | | | |
| | custom_fields | | | | | | |
| | custom_values | | | | | | |
| | dashboard | | | | | | |
| | email_templates | | | | | | |
| | filter | | | | | | |
| | guest | (view missing)| | | | | |
| | import | | | | | | |
| | layout | | | | | | |
| | mailer | | | | | | |
| | sessions | | | | | | |
| | settings | | | | | | |
| | upload | | | | | | |
| | welcome | | | | | | |
| invoices | | | | | | | |
| | invoice_groups | | | | | | |
| | tax_rates | | | | | | |
| | peppol | | | | | | |
| payments | | | | | | | |
| | payment_methods | | | | | | |
| products | | | | | | | |
| | families | | | | | | |
| | units | | | | | | |
| projects | | | | | | | |
| | tasks | | | | | | |
| quotes | | | | | | | |
| reports | | | | | | | |
| users | | | | | | | |
| setup | | | | | | | |

---

## Notes (Peppol E-Invoicing)

The Peppol integration includes comprehensive test coverage:
- **Enum Tests:** All Peppol enums (TransmissionStatus, ErrorType, ValidationStatus, etc.) have complete test coverage
- **Service Tests:** PeppolService with HTTP fakes for transmission, status checking, and cancellation
- **Provider Tests:** Factory pattern and provider-specific client tests
- **Format Handler Tests:** UBL, FatturaPA, ZUGFeRD format validation and transformation
- **Integration Tests:** End-to-end integration lifecycle (create, test, validate, send)
89 changes: 89 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
Contributing to InvoicePlane V2

Thank you for considering contributing to **InvoicePlane V2** — a Laravel + Filament modular rewrite of the original InvoicePlane. This guide outlines our project rules and contribution standards.

---

## Structure & Standards

- **Laravel 11+**, **PHP 8.2+**
- **Filament** used for all UI
- **Livewire** used for reactive components
- **Modular** folder structure only:
- `Modules/{Module}/Filament/Admin/Resources/`
- `Modules/{Module}/Services/`
- `Modules/{Module}/Tests/Feature/`
- Use:
- `BelongsToCompany` trait for multi-tenancy
- `DTOs` + `Transformers` for all data
- `Services` for all business logic

---

## Code Formatting

```bash
vendor/bin/pint
php artisan test
```

- Follow PSR-12
- No logic in Filament or Livewire pages
- No inline DTO construction
- No tight coupling — use DI and clear return types

---

Test Requirements

All tests go in: Modules/{Module}/Tests/Feature/

Extend: AbstractAdminPanelTestCase OR AbstractCompanyPanelTestCase OR AbstractTestCase (for Unit tests)

Use: #[Test] and #[Group('crud')] or #[Group('smoke')]

All tests should have:

- @payload block (if input-based)
- it_ prefix in the method

```
#[Test]
#[Group('crud')]
/**
* @payload missing: invoice_number
* {
* "customer_id": 1,
* "due_date": "2025-06-01"
* }
*/
public function it_fails_to_create_invoice_without_required_invoice_number(): void
```

---

Pull Requests

- One PR per feature or fix
- Reference rows in CHECKLIST.md
- Translate if needed
- Add tests where you can

---

Translation

All strings use trans('...')

Translations managed via Crowdin:
https://translations.invoiceplane.com

---

Community

Discord: https://discord.gg/PPzD2hTrXt

Community Forums: https://community.invoiceplane.com

GitHub Issues: https://github.com/InvoicePlane/InvoicePlane-v2/issues
81 changes: 81 additions & 0 deletions .github/DOCKER.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
DOCKER.md

# Docker Setup for InvoicePlane V2

This guide explains how to run InvoicePlane V2 using Docker.

---

## Prerequisites

- Docker installed (https://www.docker.com/)
- Docker Compose v2+

---

## Quick Start

```bash
git clone https://github.com/InvoicePlane/InvoicePlane.git
cd InvoicePlane

cp .env.example .env
composer install
php artisan key:generate
php artisan migrate --seed

docker compose up -d

Visit: http://localhost/ivpl

---

Useful Commands

Action Command

Start services docker compose up -d
Stop services docker compose down
View logs docker compose logs -f
Run artisan docker compose exec app php artisan
Rebuild containers docker compose build --no-cache

---

Services

App container: Laravel application

Database: MariaDB (latest)

Mail: MailCatcher (port 1080)

Queue: Redis (optional)

---

Customize Docker

Change database port in docker-compose.yml

Override PHP version via Dockerfile

Add volumes for local persistence if needed

---

Troubleshooting

Port already in use: Adjust ports in docker-compose.yml

Permission issues: Ensure Docker has access to your project folder

Missing .env config: Re-run cp .env.example .env and adjust

---

---

What's Next?

Visit CHECKLIST.md if contributing
Loading