How to bring it up and running

Get the code

We suggest to put it into your vendor directory.

cd <webroot>/vendor
git clone https://github.com/axelhahn/php-codemirror.git

This creates a subdir “php-codemirror”.

Try it

If you have php installed, you can run the example:

cd php-codemirror/examples

# Run the server
php -S localhost:9000

In the browser, open the url http://localhost:9000/.