https://github.com/amaccis/docker-php-libstemmer
Docker Alpine Linux environment with PHP onboard, its FFI extension enabled and the libstemmer compiled as a shared library.
https://github.com/amaccis/docker-php-libstemmer
libstemmer php php8 stemmer
Last synced: about 2 months ago
JSON representation
Docker Alpine Linux environment with PHP onboard, its FFI extension enabled and the libstemmer compiled as a shared library.
- Host: GitHub
- URL: https://github.com/amaccis/docker-php-libstemmer
- Owner: amaccis
- License: mit
- Created: 2020-02-22T14:02:44.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-01-04T19:23:07.000Z (5 months ago)
- Last Synced: 2025-03-25T11:38:57.495Z (2 months ago)
- Topics: libstemmer, php, php8, stemmer
- Language: Dockerfile
- Homepage:
- Size: 10.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# amaccis/php-libstemmer
The purpouse of this image is to provide an Alpine Linux environment with PHP 8 onboard, its [FFI](https://www.php.net/manual/en/book.ffi.php) extension enabled and the [libstemmer](https://snowballstem.org/dist/libstemmer_c.tgz) compiled as a shared library. Besides, [composer](https://getcomposer.org) is included.
# Snowball and libstemmer
[Snowball](https://snowballstem.org/) is a small string processing language designed for creating stemming algorithms for use in Information Retrieval.
[Libstemmer](https://snowballstem.org/dist/libstemmer_c.tgz) instead, contains a complete set of Snowball stemming algorithms that you can include into a C project of your own. With libstemmer you don't need to use the Snowball compiler.# How to use this image
## Using docker
```bash
$ docker run --name php-libstemmer -v $PWD/:/var/www -d amaccis/php-libstemmer
```## Using docker-compose
```yaml
version: '3.7'services:
php-fpm:
image: amaccis/php-libstemmer
working_dir: /var/www
volumes:
- ./:/var/www
```