├── .bumpversion.cfg ├── .devcontainer └── devcontainer.json ├── .dockerignore ├── .editorconfig ├── .env.example ├── .eslintrc.json ├── .gitignore ├── .vscode ├── launch.json └── settings.json ├── LICENSE ├── README.md ├── apigen.yml ├── composer.json ├── composer.lock ├── docker-compose.yml ├── docker └── app │ ├── Dockerfile │ ├── Dockerfile.redis_mongo_example │ ├── conf │ └── supervisord.services.conf │ ├── data │ └── .gitkeep │ └── scripts │ ├── build.bash │ ├── console.bash │ ├── run-prod.bash │ └── run.bash ├── package.json ├── phpcs.xml ├── requirements.txt ├── resources ├── logo_1024.png └── logo_50.png ├── scripts ├── bump_version.bash ├── clear_cache.bash ├── git_post_receive.bash ├── git_pre_commit.bash └── watch_files_dev.bash ├── src ├── Application │ ├── .env.example │ ├── Cache │ │ └── .gitkeep │ ├── Config │ │ ├── App.php │ │ ├── Config.php │ │ └── Routing.php │ ├── Files │ │ └── .gitkeep │ ├── Helpers │ │ └── Bootstrap.php │ ├── Modules │ │ └── Defaults │ │ │ ├── Controllers │ │ │ ├── Test │ │ │ │ └── Test.php │ │ │ └── Welcome.php │ │ │ ├── Data │ │ │ └── MainMenu.php │ │ │ ├── Helpers │ │ │ └── Bootstrap.php │ │ │ ├── Views │ │ │ ├── example.html │ │ │ ├── index.html │ │ │ └── layout.html │ │ │ └── _bootstrap.php │ ├── Public │ │ ├── .htaccess │ │ ├── assets │ │ │ └── src │ │ │ │ ├── base │ │ │ │ ├── scss │ │ │ │ │ └── theme.scss │ │ │ │ └── ts │ │ │ │ │ ├── config.ts │ │ │ │ │ ├── customPolyfill.ts │ │ │ │ │ ├── interfaces.ts │ │ │ │ │ └── utils.ts │ │ │ │ ├── index.scss │ │ │ │ └── index.ts │ │ ├── dev-router.php │ │ ├── favicon.ico │ │ └── index.php │ ├── Tests │ │ ├── Modules │ │ │ └── Defaults │ │ │ │ └── Controllers │ │ │ │ └── WelcomeTest.php │ │ └── autoload.php │ ├── Views │ │ └── components │ │ │ ├── menu_type_100.html │ │ │ ├── menu_type_200.html │ │ │ ├── menu_type_201.html │ │ │ └── menu_type_300.html │ └── phpunit.xml └── System │ ├── Modules │ ├── Core │ │ ├── Controllers │ │ │ └── Controller.php │ │ ├── Exceptions │ │ │ ├── ErrorMessage.php │ │ │ ├── ErrorMessage │ │ │ │ ├── Forbidden.php │ │ │ │ └── NotFound.php │ │ │ ├── RouterException.php │ │ │ └── SpErrorException.php │ │ ├── Helpers │ │ │ ├── Autoload.php │ │ │ ├── Bootstrap.php │ │ │ └── ErrorHandlers.php │ │ ├── Interfaces │ │ │ └── RequestContentType.php │ │ ├── Models │ │ │ ├── Config.php │ │ │ ├── Load.php │ │ │ ├── Logger.php │ │ │ ├── Request.php │ │ │ ├── Router.php │ │ │ └── Timers.php │ │ └── Views │ │ │ └── Error.html │ ├── Presentation │ │ ├── Helpers │ │ │ └── Html.php │ │ └── Models │ │ │ ├── Menu │ │ │ ├── Menu.php │ │ │ └── MenuType.php │ │ │ └── Tables │ │ │ ├── Column.php │ │ │ ├── Enums │ │ │ ├── ColumnType.php │ │ │ ├── FilterType.php │ │ │ ├── RowPosition.php │ │ │ ├── SortDirection.php │ │ │ ├── SortNulls.php │ │ │ └── TableType.php │ │ │ ├── Filters.php │ │ │ ├── Interfaces │ │ │ ├── ColumnInterface.php │ │ │ ├── FiltersInterface.php │ │ │ ├── OutputInterface.php │ │ │ ├── PaginationInterface.php │ │ │ ├── SortInterface.php │ │ │ ├── TableInstanceInterface.php │ │ │ └── TableInterface.php │ │ │ ├── Output │ │ │ ├── Excel.php │ │ │ └── Html.php │ │ │ ├── Pagination.php │ │ │ ├── SQL │ │ │ ├── SQLFilters.php │ │ │ ├── SQLPagination.php │ │ │ ├── SQLSort.php │ │ │ └── SQLTable.php │ │ │ ├── Sort.php │ │ │ ├── Table.php │ │ │ ├── Traits │ │ │ └── TableInstance.php │ │ │ └── Utils.php │ └── Utils │ │ ├── Config │ │ ├── Cache.php │ │ ├── Db.php │ │ └── i18n.php │ │ ├── Files │ │ ├── i18n_pg.sql │ │ ├── table_sessions_mysql.sql │ │ └── table_sessions_postgres.sql │ │ ├── Helpers │ │ └── Helpers.php │ │ └── Models │ │ ├── BitwiseFlag.php │ │ ├── Cache │ │ ├── Cache.php │ │ ├── CacheApcu.php │ │ ├── CacheFiles.php │ │ ├── CacheInterface.php │ │ ├── CacheMemcached.php │ │ └── CacheRedis.php │ │ ├── Db.php │ │ ├── ExtendedDateTime.php │ │ ├── Fv.php │ │ ├── RecordObject.php │ │ ├── Sessions │ │ ├── Sessions.php │ │ ├── SessionsApcu.php │ │ ├── SessionsMemcached.php │ │ ├── SessionsMongoDb.php │ │ ├── SessionsPgsql.php │ │ └── SessionsRedis.php │ │ ├── Url.php │ │ └── i18n.php │ ├── Tests │ ├── Modules │ │ └── Core │ │ │ ├── Helpers │ │ │ ├── HtmlTest.php │ │ │ └── OtherTest.php │ │ │ └── Models │ │ │ └── CacheTest.php │ └── autoload.php │ └── phpunit.xml ├── staticphp ├── tsconfig.json └── webpack.config.js /.bumpversion.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gintsmurans/staticphp/HEAD/.bumpversion.cfg -------------------------------------------------------------------------------- /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gintsmurans/staticphp/HEAD/.devcontainer/devcontainer.json -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | /build 2 | /dist 3 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gintsmurans/staticphp/HEAD/.editorconfig -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- 1 | # DEVELOPMENT 2 | -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gintsmurans/staticphp/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gintsmurans/staticphp/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gintsmurans/staticphp/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gintsmurans/staticphp/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gintsmurans/staticphp/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gintsmurans/staticphp/HEAD/README.md -------------------------------------------------------------------------------- /apigen.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gintsmurans/staticphp/HEAD/apigen.yml -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gintsmurans/staticphp/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gintsmurans/staticphp/HEAD/composer.lock -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gintsmurans/staticphp/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /docker/app/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gintsmurans/staticphp/HEAD/docker/app/Dockerfile -------------------------------------------------------------------------------- /docker/app/Dockerfile.redis_mongo_example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gintsmurans/staticphp/HEAD/docker/app/Dockerfile.redis_mongo_example -------------------------------------------------------------------------------- /docker/app/conf/supervisord.services.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gintsmurans/staticphp/HEAD/docker/app/conf/supervisord.services.conf -------------------------------------------------------------------------------- /docker/app/data/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docker/app/scripts/build.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gintsmurans/staticphp/HEAD/docker/app/scripts/build.bash -------------------------------------------------------------------------------- /docker/app/scripts/console.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gintsmurans/staticphp/HEAD/docker/app/scripts/console.bash -------------------------------------------------------------------------------- /docker/app/scripts/run-prod.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gintsmurans/staticphp/HEAD/docker/app/scripts/run-prod.bash -------------------------------------------------------------------------------- /docker/app/scripts/run.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gintsmurans/staticphp/HEAD/docker/app/scripts/run.bash -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gintsmurans/staticphp/HEAD/package.json -------------------------------------------------------------------------------- /phpcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gintsmurans/staticphp/HEAD/phpcs.xml -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | bump2version 2 | -------------------------------------------------------------------------------- /resources/logo_1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gintsmurans/staticphp/HEAD/resources/logo_1024.png -------------------------------------------------------------------------------- /resources/logo_50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gintsmurans/staticphp/HEAD/resources/logo_50.png -------------------------------------------------------------------------------- /scripts/bump_version.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gintsmurans/staticphp/HEAD/scripts/bump_version.bash -------------------------------------------------------------------------------- /scripts/clear_cache.bash: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | cd "$(dirname "$0")" 4 | rm -r ../src/Application/Cache/* 5 | -------------------------------------------------------------------------------- /scripts/git_post_receive.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gintsmurans/staticphp/HEAD/scripts/git_post_receive.bash -------------------------------------------------------------------------------- /scripts/git_pre_commit.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gintsmurans/staticphp/HEAD/scripts/git_pre_commit.bash -------------------------------------------------------------------------------- /scripts/watch_files_dev.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gintsmurans/staticphp/HEAD/scripts/watch_files_dev.bash -------------------------------------------------------------------------------- /src/Application/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gintsmurans/staticphp/HEAD/src/Application/.env.example -------------------------------------------------------------------------------- /src/Application/Cache/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Application/Config/App.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gintsmurans/staticphp/HEAD/src/Application/Config/App.php -------------------------------------------------------------------------------- /src/Application/Config/Config.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gintsmurans/staticphp/HEAD/src/Application/Config/Config.php -------------------------------------------------------------------------------- /src/Application/Config/Routing.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gintsmurans/staticphp/HEAD/src/Application/Config/Routing.php -------------------------------------------------------------------------------- /src/Application/Files/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Application/Helpers/Bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gintsmurans/staticphp/HEAD/src/Application/Helpers/Bootstrap.php -------------------------------------------------------------------------------- /src/Application/Modules/Defaults/Controllers/Test/Test.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gintsmurans/staticphp/HEAD/src/Application/Modules/Defaults/Controllers/Test/Test.php -------------------------------------------------------------------------------- /src/Application/Modules/Defaults/Controllers/Welcome.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gintsmurans/staticphp/HEAD/src/Application/Modules/Defaults/Controllers/Welcome.php -------------------------------------------------------------------------------- /src/Application/Modules/Defaults/Data/MainMenu.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gintsmurans/staticphp/HEAD/src/Application/Modules/Defaults/Data/MainMenu.php -------------------------------------------------------------------------------- /src/Application/Modules/Defaults/Helpers/Bootstrap.php: -------------------------------------------------------------------------------- 1 |