1. Go to this page and download the library: Download elife/proofreader-php library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
elife / proofreader-php example snippets
bash
$ ~/code/proofreader-php/bin/proofreader src/
PHP-CS-Fixer consistency check with local project
PHP-CS-Fixer
Loaded config from "/home/giorgio/code/proofreader-php/.php_cs"
.........................
Legend: ?-unknown, I-invalid file syntax, file ignored, .-no changes, F-fixed, E-error
Checked all files in 1.792 seconds, 6.000 MB memory used
PHPCPD
phpcpd 2.0.4 by Sebastian Bergmann.
0.00% duplicated lines out of 725 total lines of code.
Time: 43 ms, Memory: 4.00MB
docker run -v $(pwd):/code elifesciences/proofreader-php bin/proofreader /code/src
FROM elifesciences/proofreader-php:latest AS proofreader
...
USER elife
COPY --from=proofreader --chown=elife:elife /srv/proofreader-php /srv/proofreader-php
RUN ln -s /srv/proofreader-php/bin/proofreader /srv/bin/proofreader
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.