Download the PHP package mikejw/empathy without Composer
On this page you can find all versions of the php package mikejw/empathy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mikejw/empathy
More information about mikejw/empathy
Files in mikejw/empathy
Package empathy
Short Description Empathy PHP Framework
License Apache-2.0
Homepage http://empathyphp.co.uk
Informations about the package empathy
Empathy PHP Framework
Welcome to the Empathy (micro MVC) PHP Framework project. The project has existed since 2008 and is geared towards allowing anyone to create PHP web applications, with following properties:
- Strict MVC pattern
- Modular compatible libraries
- Lightweight
- Fast
- Extensible
Documentation
See getting-started.md.
Licence
Empathy and officially released extension libraries are now distributed under an MIT license. See LICENSE.
Testing the code itself
If you want to run tests from a version of Empathy that has been checked out in base-docker connect to the app container first, change to the empathy vendor directory and run composer install:
docker exec -it -u www-data app /bin/bash
cd ./vendor/mikejw/empathy/
php ../../../composer.phar install --prefer-source
Within the 'Empathy Architype Application' config file (/eaa/config.yml
), set: doc_root
to
the full location of the eaa
directory, (which is used for dummy configuration) e.g:
---
doc_root: /var/www/project/vendor/mikejw/empathy/eaa
For the elibs
plugin configuration (within /eaa/config.yml
), set testing mode to 1. (This makes sure
that the elibs repo containing Smarty can be found.) i.e:
plugins:
-
name: ELibs
version: 1.0
config: '{ "testing": 1 }'
Change to the t
directory from the root of the empathy repo and run phpunit:
cd /var/www/project/vendor/mikejw/empathy/t
php ../vendor/bin/phpunit .
All versions of empathy with dependencies
wp-cli/php-cli-tools Version dev-master
mustangostang/spyc Version 0.5.1
mikejw/elibs Version dev-develop
php-di/php-di Version ^5.4