A base project template for yii2
v1.0.1-alpha 2020-03-27 13:53 UTC
- Yii2 queue with amqp-lib
- Ip2location with database for ipv4 and ipv6
- 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
- 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.
- Email support from MailGun or SES