teamoxio / yii2-base-dev
A base project template for yii2
v1.0.1-alpha
2020-03-27 13:53 UTC
Requires
- php: >=7.3.0
- ext-curl: *
- ext-json: *
- 2amigos/2fa-library: ^1.0@dev
- enqueue/amqp-lib: ^0.10.0@dev
- guzzlehttp/guzzle: ^5.3
- ip2location/ip2location-php: dev-master
- kriswallsmith/buzz: dev-master
- phpseclib/phpseclib: ~2.0
- yiisoft/yii2: ~2.0.14
- yiisoft/yii2-bootstrap: ~2.0.0
- yiisoft/yii2-queue: ~2.0.0 || ~2.1.0
- yiisoft/yii2-swiftmailer: ~2.0.0 || ~2.1.0
Requires (Dev)
- codeception/codeception: ^4.0
- codeception/module-asserts: ^1.0.0
- codeception/module-filesystem: ^1.0.0
- codeception/module-yii2: ^1.0.0
- codeception/specify: ~0.4.6
- codeception/verify: ~0.5.0 || ~1.1.0
- symfony/browser-kit: >=2.7 <=4.2.4
- yiisoft/yii2-debug: ~2.1.0
- yiisoft/yii2-faker: ~2.0.0
- yiisoft/yii2-gii: ~2.1.0
This package is auto-updated.
Last update: 2025-03-01 00:30:44 UTC
README
by teamOxio Technologies Private Limited
Includes:
- Yii2 queue with amqp-lib
- Ip2location with database for ipv4 and ipv6
- 2amigos/2fa-library
- Google recaptcha support
- User login and register flow with unique sessions, system logs and referrals
- RESTful API support and API module
- MySQL tables: settings, user_roles, user_status, countries, users, user_login_history, logs, user_sessions and background_tasks
- Support for RabbitMQ background workers using configuration in config/queue.php
- Admin account: username: backoffice, password: test@123
- Theme support, put your theme in themes/backend/views, place your theme web accessible assets under web/backend and configure app\BackendAsset with css and js files.
- TwoFA test - check UserController and after logging in open user/two-fa
Helper Methods available:
- Helper::getCountryFromIP, getCountryFromCode and getCountryIDFromIP
- Helper::getCryptoPrice
- Helper::verifyCaptcha
- Helper::validateBTCAddress
- app\common\Files class to write, read and download files
- Class LoggableException - logs to the mysql logs table and PersistException which can be used when a database row fails to save, it automatically logs the error to logs table.
- Traits GetSet, Singleton
- Abstract Classes BaseWorker - RabbitMQ background tasks can extend this, BaseController - for Web Controllers, BaseActiveRecord - for ActiveRecord models, RetryableWorker - for Background Tasks that should be retried.
Pending:
- Email support from MailGun or SES