├── .env.example ├── .github └── workflows │ └── php.yml ├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── composer.json ├── helpers └── functions.php ├── hooks └── .gitkeep ├── libraries └── .gitkeep ├── logs └── .gitkeep ├── migrations ├── .gitkeep ├── create_table_comments_1698145440.php ├── create_table_posts_1669639752.php └── create_table_users_1669639740.php ├── phpunit.xml ├── public ├── .htaccess ├── assets │ ├── DebugBar │ │ └── Resources │ │ │ ├── custom_debugbar.css │ │ │ ├── custom_widgets.css │ │ │ └── img │ │ │ └── quantum_favicon.ico │ ├── OpenApiUi │ │ ├── swagger-initializer.js │ │ └── theme-material.css │ └── shared │ │ ├── css │ │ ├── custom.css │ │ ├── easymde.min.css │ │ ├── materialize.min.css │ │ ├── robot.css │ │ └── trace.css │ │ ├── fonts │ │ └── figlet │ │ │ ├── big.flf │ │ │ ├── slant.flf │ │ │ ├── small.flf │ │ │ └── standard.flf │ │ ├── images │ │ ├── favicon.ico │ │ ├── no-image.png │ │ └── quantum-logo-white.png │ │ └── js │ │ ├── easymde.min.js │ │ ├── jquery-3.7.1.min.js │ │ └── materialize.min.js ├── index.php └── uploads │ └── .gitkeep ├── qt ├── shared ├── Commands │ ├── CommandValidationTrait.php │ ├── CommentCreateCommand.php │ ├── CommentDeleteCommand.php │ ├── DemoCommand.php │ ├── PostCreateCommand.php │ ├── PostDeleteCommand.php │ ├── PostShowCommand.php │ ├── PostUpdateCommand.php │ ├── UserCreateCommand.php │ ├── UserDeleteCommand.php │ └── UserShowCommand.php ├── Enums │ └── Role.php ├── Models │ ├── Comment.php │ ├── Post.php │ └── User.php ├── Services │ ├── AuthService.php │ ├── CommentService.php │ └── PostService.php ├── Transformers │ ├── CommentTransformer.php │ └── PostTransformer.php ├── config │ ├── app.php │ ├── cache.php │ ├── captcha.php │ ├── cors.php │ ├── database.php │ ├── dependencies.php │ ├── env.php │ ├── fs.php │ ├── hooks.php │ ├── lang.php │ ├── logging.php │ ├── mailer.php │ ├── modules.php │ ├── session.php │ ├── view.php │ └── view_cache.php ├── emails │ └── .gitkeep ├── resources │ └── lang │ │ ├── am │ │ ├── common.php │ │ ├── exception.php │ │ └── validation.php │ │ ├── en │ │ ├── common.php │ │ ├── exception.php │ │ └── validation.php │ │ └── ru │ │ ├── common.php │ │ ├── exception.php │ │ └── validation.php ├── store │ └── .gitkeep └── views │ ├── email │ ├── activate.php │ ├── reset.php │ └── verification.php │ ├── errors │ ├── 401.php │ ├── 404.php │ ├── 500.php │ └── trace.php │ └── openapi │ └── openapi.php └── tests ├── Feature ├── AppTestCase.php └── modules │ └── Api │ ├── AuthControllerTest.php │ ├── CommentControllerTest.php │ ├── PostControllerTest.php │ └── PostManagementControllerTest.php ├── Helpers └── functions.php ├── Unit └── shared │ └── Services │ ├── AuthServiceTest.php │ ├── CommentServiceTest.php │ └── PostServiceTest.php ├── _root ├── .env.example ├── helpers │ └── functions.php ├── logs │ └── app.log ├── public │ └── uploads │ │ └── .gitkeep ├── shared │ ├── config │ │ ├── app.php │ │ ├── cors.php │ │ ├── database.php │ │ ├── dependencies.php │ │ ├── env.php │ │ ├── fs.php │ │ ├── hooks.php │ │ ├── lang.php │ │ ├── logging.php │ │ ├── mailer.php │ │ ├── modules.php │ │ └── view.php │ ├── resources │ │ └── lang │ │ │ ├── am │ │ │ ├── common.php │ │ │ ├── exception.php │ │ │ └── validation.php │ │ │ ├── en │ │ │ ├── common.php │ │ │ ├── exception.php │ │ │ └── validation.php │ │ │ └── ru │ │ │ ├── common.php │ │ │ ├── exception.php │ │ │ └── validation.php │ ├── store │ │ └── .gitkeep │ └── views │ │ └── email │ │ ├── activate.php │ │ ├── reset.php │ │ └── verification.php └── tmp │ └── php8fe1.tmp └── bootstrap.php /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/.env.example -------------------------------------------------------------------------------- /.github/workflows/php.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/.github/workflows/php.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/composer.json -------------------------------------------------------------------------------- /helpers/functions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/helpers/functions.php -------------------------------------------------------------------------------- /hooks/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /libraries/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /logs/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /migrations/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /migrations/create_table_comments_1698145440.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/migrations/create_table_comments_1698145440.php -------------------------------------------------------------------------------- /migrations/create_table_posts_1669639752.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/migrations/create_table_posts_1669639752.php -------------------------------------------------------------------------------- /migrations/create_table_users_1669639740.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/migrations/create_table_users_1669639740.php -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/phpunit.xml -------------------------------------------------------------------------------- /public/.htaccess: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/public/.htaccess -------------------------------------------------------------------------------- /public/assets/DebugBar/Resources/custom_debugbar.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/public/assets/DebugBar/Resources/custom_debugbar.css -------------------------------------------------------------------------------- /public/assets/DebugBar/Resources/custom_widgets.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/public/assets/DebugBar/Resources/custom_widgets.css -------------------------------------------------------------------------------- /public/assets/DebugBar/Resources/img/quantum_favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/public/assets/DebugBar/Resources/img/quantum_favicon.ico -------------------------------------------------------------------------------- /public/assets/OpenApiUi/swagger-initializer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/public/assets/OpenApiUi/swagger-initializer.js -------------------------------------------------------------------------------- /public/assets/OpenApiUi/theme-material.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/public/assets/OpenApiUi/theme-material.css -------------------------------------------------------------------------------- /public/assets/shared/css/custom.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/public/assets/shared/css/custom.css -------------------------------------------------------------------------------- /public/assets/shared/css/easymde.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/public/assets/shared/css/easymde.min.css -------------------------------------------------------------------------------- /public/assets/shared/css/materialize.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/public/assets/shared/css/materialize.min.css -------------------------------------------------------------------------------- /public/assets/shared/css/robot.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/public/assets/shared/css/robot.css -------------------------------------------------------------------------------- /public/assets/shared/css/trace.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/public/assets/shared/css/trace.css -------------------------------------------------------------------------------- /public/assets/shared/fonts/figlet/big.flf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/public/assets/shared/fonts/figlet/big.flf -------------------------------------------------------------------------------- /public/assets/shared/fonts/figlet/slant.flf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/public/assets/shared/fonts/figlet/slant.flf -------------------------------------------------------------------------------- /public/assets/shared/fonts/figlet/small.flf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/public/assets/shared/fonts/figlet/small.flf -------------------------------------------------------------------------------- /public/assets/shared/fonts/figlet/standard.flf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/public/assets/shared/fonts/figlet/standard.flf -------------------------------------------------------------------------------- /public/assets/shared/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/public/assets/shared/images/favicon.ico -------------------------------------------------------------------------------- /public/assets/shared/images/no-image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/public/assets/shared/images/no-image.png -------------------------------------------------------------------------------- /public/assets/shared/images/quantum-logo-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/public/assets/shared/images/quantum-logo-white.png -------------------------------------------------------------------------------- /public/assets/shared/js/easymde.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/public/assets/shared/js/easymde.min.js -------------------------------------------------------------------------------- /public/assets/shared/js/jquery-3.7.1.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/public/assets/shared/js/jquery-3.7.1.min.js -------------------------------------------------------------------------------- /public/assets/shared/js/materialize.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/public/assets/shared/js/materialize.min.js -------------------------------------------------------------------------------- /public/index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/public/index.php -------------------------------------------------------------------------------- /public/uploads/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /qt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/qt -------------------------------------------------------------------------------- /shared/Commands/CommandValidationTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/shared/Commands/CommandValidationTrait.php -------------------------------------------------------------------------------- /shared/Commands/CommentCreateCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/shared/Commands/CommentCreateCommand.php -------------------------------------------------------------------------------- /shared/Commands/CommentDeleteCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/shared/Commands/CommentDeleteCommand.php -------------------------------------------------------------------------------- /shared/Commands/DemoCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/shared/Commands/DemoCommand.php -------------------------------------------------------------------------------- /shared/Commands/PostCreateCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/shared/Commands/PostCreateCommand.php -------------------------------------------------------------------------------- /shared/Commands/PostDeleteCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/shared/Commands/PostDeleteCommand.php -------------------------------------------------------------------------------- /shared/Commands/PostShowCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/shared/Commands/PostShowCommand.php -------------------------------------------------------------------------------- /shared/Commands/PostUpdateCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/shared/Commands/PostUpdateCommand.php -------------------------------------------------------------------------------- /shared/Commands/UserCreateCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/shared/Commands/UserCreateCommand.php -------------------------------------------------------------------------------- /shared/Commands/UserDeleteCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/shared/Commands/UserDeleteCommand.php -------------------------------------------------------------------------------- /shared/Commands/UserShowCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/shared/Commands/UserShowCommand.php -------------------------------------------------------------------------------- /shared/Enums/Role.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/shared/Enums/Role.php -------------------------------------------------------------------------------- /shared/Models/Comment.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/shared/Models/Comment.php -------------------------------------------------------------------------------- /shared/Models/Post.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/shared/Models/Post.php -------------------------------------------------------------------------------- /shared/Models/User.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/shared/Models/User.php -------------------------------------------------------------------------------- /shared/Services/AuthService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/shared/Services/AuthService.php -------------------------------------------------------------------------------- /shared/Services/CommentService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/shared/Services/CommentService.php -------------------------------------------------------------------------------- /shared/Services/PostService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/shared/Services/PostService.php -------------------------------------------------------------------------------- /shared/Transformers/CommentTransformer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/shared/Transformers/CommentTransformer.php -------------------------------------------------------------------------------- /shared/Transformers/PostTransformer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/shared/Transformers/PostTransformer.php -------------------------------------------------------------------------------- /shared/config/app.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/shared/config/app.php -------------------------------------------------------------------------------- /shared/config/cache.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/shared/config/cache.php -------------------------------------------------------------------------------- /shared/config/captcha.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/shared/config/captcha.php -------------------------------------------------------------------------------- /shared/config/cors.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/shared/config/cors.php -------------------------------------------------------------------------------- /shared/config/database.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/shared/config/database.php -------------------------------------------------------------------------------- /shared/config/dependencies.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/shared/config/dependencies.php -------------------------------------------------------------------------------- /shared/config/env.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/shared/config/env.php -------------------------------------------------------------------------------- /shared/config/fs.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/shared/config/fs.php -------------------------------------------------------------------------------- /shared/config/hooks.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/shared/config/hooks.php -------------------------------------------------------------------------------- /shared/config/lang.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/shared/config/lang.php -------------------------------------------------------------------------------- /shared/config/logging.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/shared/config/logging.php -------------------------------------------------------------------------------- /shared/config/mailer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/shared/config/mailer.php -------------------------------------------------------------------------------- /shared/config/modules.php: -------------------------------------------------------------------------------- 1 | 'testing' 5 | ]; 6 | -------------------------------------------------------------------------------- /tests/_root/shared/config/fs.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/softberg/quantum-php-project/HEAD/tests/_root/shared/config/fs.php -------------------------------------------------------------------------------- /tests/_root/shared/config/hooks.php: -------------------------------------------------------------------------------- 1 |