aaieduhr / aosi-module-demo
AOSI Demo Module
Package info
gitlab.opencode.hr/srce/aai-eduhr/aosi/aosi-module-demo
Type:aosi-module
pkg:composer/aaieduhr/aosi-module-demo
dev-main
2026-04-14 10:39 UTC
Requires
- php: >=8.2
Requires (Dev)
- aaieduhr/aosi: ^5
- phpstan/phpstan: ^2.1
- phpstan/phpstan-deprecation-rules: ^2.0
- phpunit/phpunit: ^10 || ^11
- rector/rector: ^2.0
- slevomat/coding-standard: ^8
- squizlabs/php_codesniffer: ^3
This package is not auto-updated.
Last update: 2026-04-15 09:01:05 UTC
README
AOSI Demo Module. This module is a template, you can use it as a starting point for your own module.
Using this module repo as a template for your own module
git clone git@gitlab.opencode.hr:srce/aai-eduhr/aosi/aosi-module-demo.git aosi-module-your-module-name
cd aosi-module-your-module-name
rm -rf .git
git init --initial-branch=main
git remote add origin git@gitlab.opencode.hr:srce/aai-eduhr/aosi/aosi-module-your-module-name.git
Search and replace in all files:
demowithyour-module-nameDemowithYourModuleName(no spaces in name for class names, namespaces...)
Adjust authors in composer.json.
After that, you can push your changes as an initial commit to your module repo:
git add .
git commit -m "Initial commit"
git push --set-upstream origin main
Installing dependencies
Running tests
At this point, all tests should pass:
composer pre
Licence
This work is published under European Union Public License (the ‘EUPL’) v1.2.