eliasis-framework / eliasis
Eliasis PHP Framework
Requires
- php: ^5.6 || ^7.0
- josantonius/url: ^1.2.0
Requires (Dev)
- eliasis-framework/complement: ^1.1.0
- friendsofphp/php-cs-fixer: ^2.3 || ^2.8
- josantonius/database: ^1.1.9
- josantonius/errorhandler: ^1.1.8
- josantonius/hook: ^1.1.0
- josantonius/ip: ^1.1.7
- josantonius/router: ^1.0.9
- phpmd/phpmd: ^2.6
- phpunit/phpunit: ^5.7 || ^6.0
- squizlabs/php_codesniffer: ^3.0
README
Requirements
This framework is supported by PHP versions 5.6 or higher and is compatible with HHVM versions 3.0 or higher.
Installation
You can install Eliasis PHP Framework into your project using Composer. If you're starting a new project, we recommend using the basic app as a starting point. For existing applications you can run the following:
composer require eliasis-framework/eliasis
The previous command will only install the necessary files, if you prefer to download the entire source code you can use:
composer require eliasis-framework/eliasis --prefer-source
Documentation
Documentation and examples of use.
Tests
To run tests you just need composer and to execute the following:
git clone https://github.com/eliasis-framework/eliasis.git
cd eliasis
bash bin/install-wp-tests.sh wordpress_test root '' localhost latest
composer install
Run unit tests with PHPUnit:
composer phpunit
Run PSR2 code standard tests with PHPCS:
composer phpcs
Run PHP Mess Detector tests to detect inconsistencies in code style:
composer phpmd
Run all previous tests:
composer tests
Sponsor
If this project helps you to reduce your development time, you can sponsor me to support my open source work 😊
License
This repository is licensed under the MIT License.
Copyright © 2017-2022, Josantonius