ffi-headers / sdl2-ttf-headers
This package is abandoned and no longer maintained.
No replacement package was suggested.
PHP FFI SDL2 TTF Headers
Package info
github.com/php-ffi-headers/sdl2-ttf-headers
Language:C
pkg:composer/ffi-headers/sdl2-ttf-headers
1.0.1
2022-08-22 15:45 UTC
Requires
- php: ^8.1
- ext-phar: *
- ffi-headers/contracts: ^1.0
- ffi/preprocessor: ^0.2.1|^1.0
Requires (Dev)
- ffi-headers/testing: ^1.0
- vimeo/psalm: ^4.22
Provides
This package is auto-updated.
Last update: 2025-08-21 19:24:43 UTC
README
SDL2 TTF Headers
This is a C headers of the SDL2 TTF adopted for PHP.
Requirements
- PHP >= 8.1
Installation
Library is available as composer repository and can be installed using the following command in a root of your project.
$ composer require ffi-headers/sdl2-ttf-headers
Usage
use FFI\Headers\SDL2TTF; $headers = SDL2TTF::create( SDL2TTF\Version::V2_0_18, ); echo $headers;
Please note that the use of header files is not the latest version:
- Takes time to download and install (This will be done in the background > during initialization).
- May not be compatible with the PHP headers library.