Skip to content

Commit 46e179d

Browse files
committed
add instructions on how to run the samples in a browser
1 parent b20cd4f commit 46e179d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,8 @@ $objWriter->save('helloWorld.html');
161161
/* Note: we skip PDF, because "HTML-to-PDF" approach is used to create PDF documents. */
162162
```
163163

164-
More examples are provided in the [samples folder](samples/). You can also read the [Developers' Documentation](http://phpword.readthedocs.org/) and the [API Documentation](http://phpoffice.github.io/PHPWord/docs/master/) for more detail.
164+
More examples are provided in the [samples folder](samples/). For an easy access to those samples launch `php -S localhost:8000` in the samples directory then browse to [http://localhost:8000](http://localhost:8000) to view the samples.
165+
You can also read the [Developers' Documentation](http://phpword.readthedocs.org/) and the [API Documentation](http://phpoffice.github.io/PHPWord/docs/master/) for more detail.
165166

166167
## Contributing
167168

0 commit comments

Comments
 (0)