Skip to content

syncxplus/php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install

composer install --no-dev --prefer-dist --optimize-autoloader

Or, install from docker

docker run --rm --name php -d -p 80:80 -v $PWD:/var/www syncxplus/php
docker exec -it php composer install -d /var/www  --no-dev --prefer-dist --optimize-autoloader

Install font

curl -o ./html/SourceHanSansSC-Normal.otf -L https://github.com/adobe-fonts/source-han-sans/raw/release/OTF/SimplifiedChinese/SourceHanSansSC-Normal.otf

Test

composer install --prefer-dist --optimize-autoloader
./vendor/bin/phpunit -c phpunit.xml test
./vendor/bin/phpunit test/db
./vendor/bin/phpunit test/db/MysqlTest
./vendor/bin/phpunit test/db/MysqlTest.php

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published