ffi-headers/sdl2-ttf-headers

PHP FFI SDL2 TTF Headers

1.0.1 2022-08-22 15:45 UTC

This package is auto-updated.

Last update: 2024-04-22 19:55:50 UTC


README

101121010?s=256

badge.svg 68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e312e302d6666303134302e737667 68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53444c322532305454462d322e32302e312d6363336332302e737667 Latest Stable Version Latest Unstable Version Total Downloads License MIT

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.