Casexe PHP 7.0
Everything is written from zero state, nothing is stolen…
Clone repository
git clone https://github.com/AzGothic/casexe-php.git /path/to/project
Install composer
composer install
Set local configs to /config/ directory, examples in
/samples/config/
Use migration tool for creating DB structure and needed data
php app migrate
Path to public:
http://site
Test users:
user1@example.com
, password 111111
user2@example.com
, password 111111
user3@example.com
, password 111111
Path to admin panel:
http://site/admin
Test admin:
admin@example.com
, password 111111
Run transfer payments from command line:
php app transfer {LIMIT}
.
├── base # base application directory, core
├── config # configs
├── controller # controllers for web
│ └── base # base controllers
├── command # controllers for cli
├── view # views for web
├── model # models
├── web # public directory for web
├── module # modules
├── migrate # DB migrations
├── vendor # composer vendors directory
├── samples # examples for install project
│ └── config # local config files
├── bootstrap.php # main loader file
├── composer.json # composer config
├── composer.lock # composer installed packages config
├── app # cli loader
├── app.bat # batch cli loader for Windows
├── .gitignore
└── README.md
.
├── user # users table
├── admin # admin users table
├── options # configurations for lottery
├── items # items for lottery
├── winners # winners table included user id, type of prize, value/item id
└── migration_casexe # technical table for migrations check
Migrations create
php app migrate/create {NAME}