Simply share your images.
This project use severals librairies that need at least PHP 7.3.0
This project uses a database and support all database engines managed by DBAL like Mysql, PostgreSQL and SQLite engines.
From web browser
Download the latest stable version and unarchive it. Transfer the content to your web space with any FTP client. Open your website and install database and first user through web interface.
Clone this repository:
$ git clone firstname.lastname@example.org:nikrou/phyxo.git
composer.phar executable or use the installer.
$ curl -sS https://getcomposer.org/installer | php $ mv composer.phar composer
Update dependencies via composer:
$ composer install
Install Phyxo through web interface.
For both methods you can make installation process from command line:
$ ./bin/console phyxo:install
And create first user:
$ ./bin/console phyxo:user:create
If you'd like to contribute, please read the CONTRIBUTING.md file. You can submit a pull request, or feel free to use any other way you'd prefer.
You must have install phyxo first, and update base_url in behat.yml.dist
phyxo is tested using a BDD framework - Behat. To run test:
But there's also unit tests in phyxo runned with PHPUnit. To run tests:
$ ./bin/simple-phpunit --testdox
$ make unit-test
You can also get coverage report for tests by running:
$ ./bin/simple-phpunit --testdox --coverage-html=coverage
$ make unit-test-coverage
Static code analysis
Analysis is made using PHPStan :
$ composer phpstan
The analysis is made with level 5 but the idea is to increase that level and fix more and more possible issues.
You can find, discover and play with a demo
Documentation is available on the wiki. Work in progress...
- Add more tests
- See TODO file.