News

2024-10-13

PHP8 branch compiles and works for me with PHP 8.3.

2016-09-30

Moved PHP5.3 - 5.6 version to PHP5.x branch. Created experimental PHP7 branch. PHP7 version compiles and works for me, but not thoroughly tested.

2013-11-05

Moved code repository to git, as my SVN server was getting broken by updates, and I got tired having to fix it constantly.

php-imlib

What is php-imlib

"php-imlib" is a PHP extension which provides access to imlib2 image functions. It was originally developed by Matt McClanahan. I found the extension useful, so I am trying to keep it working with new releases of PHP and Imlib2.

Where to get it

The source code can be downloaded from my git repository, either by using a git client, or getting an archive from ViewGit.

To download using git enter the following commands:


git clone https://pp.siedziba.pl/php-imlib.git
cd php-imlib
git checkout branch_name

Where branch_name is either PHP8 for PHP8.3, or PHP7 for PHP7.0, or PHP5.x for PHP5.3 - 5.6.

Compilation and installation

Compilation requires development files for PHP, Imlib2, t1lib and ltdl. Use the following commands to compile:


phpize
./configure
make

If everything went fine, then type as root:


make install

Usage examples

Maintainer

Piotr Pawłow <pp@siedziba.pl>. My PGP key.

My other random stuff