evas-php/evas-app

Evas PHP starter pack

1.0 2021-08-05 13:31 UTC

This package is auto-updated.

Last update: 2024-12-05 21:06:26 UTC


README

Evas PHP starter pack

Install

  1. Clone repository
git clone https://github.com/evas-php/evas-app myapp
  1. Install dependencies (using composer https://getcomposer.org/download/)
composer install

Testing evas modules

  1. Setup codeception
php vendor/bin/codecept bootstrap
  1. Create database for tests with name evas-tests

  2. Setup database connection in vendor\evas-php\evas-db\tests\_config\db_tests_config.php

  3. Run tests

php vendor/bin/codecept run unit vendor/evas-php/

Directories

  • public directory for public files. index.php, css, js, images here
  • config directory for config files
  • vendor directory for dependency libraries
  • The rest is at your discretion