Clemens Schwaighofer a092217201 Release: v9.25.3
2024-12-24 12:52:33 +09:00
2024-05-22 11:02:42 +09:00
2024-12-24 12:52:33 +09:00
2024-12-24 12:49:49 +09:00
2024-12-24 12:49:49 +09:00
2024-05-22 11:02:42 +09:00
2024-12-10 14:52:50 +09:00
2023-12-05 17:38:01 +09:00
2024-12-13 11:11:42 +09:00
2024-06-18 10:00:11 +09:00

Composer package from CoreLibs

This is just the lib/CoreLibs folder in a composer package.

For local install only

Note: for following classes the egrajp/smarty-extended has to be installed

  • Template\SmartyExtended
  • Admin\EditBase

Publish to gitea or gitlab server

Currently there are only gitea and gitlab supported, github does not have support for composer packages

publish\publish.sh go will run the publish script

All the configuration is done in the publish\.env.deploy file

# downlaod file name is "Repository name" "-" "version" where
# version is "vN.N.N"
GITEA_PUBLISH=1
GITEA_UPLOAD_FILENAME="Upload-File-Name";
GITEA_USER=gitea-user
GITEA_TOKEN=gitea-tokek
GITEA_URL_DL=https://[gitea.hostname]/[to/package/folder]/archive
GITEA_URL_PUSH=https://[gitea.hostname]/api/packages/[organization]/composer

GITLAB_PUBLISH=1
GITLAB_URL=gitlab URl to repository
GITLAB_DEPLOY_TOKEN=gitlab-token

At the moment there is only one gitea or gitlab target setable

Setup from central composer

Setup from gitea servers

[hostname] is the hostname for your gitea server (or wherever this is published) [OrgName] is the organization name where the composer packages are hosted

composer config repositories.[hostname].Composer composer https://[hostname]/api/packages/[OrgName]/composer

Install package

composer require egrajp/corelibs-composer-all:^9.0

Tests

All tests must be run from the base folder

phan

phan --progress-bar -C --analyze-twic

phpstan

phpstan

phpunit

PHP unit is installed via "phiev"

tools/phpunit test/phpunit

Description
All CoreLibs classes in one composer package In future will be replaced by each class in a separate composer package and then grouped together in one main class. Development is in "development" repository
Readme 3.5 MiB
Languages
PHP 97.2%
PLpgSQL 2.4%
Shell 0.4%