GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - kea/php-sdl-mixer: SDL_Mixer binding for PHP

BranchesTags
Open more actions menu

Latest commit

 

History

45 Commits
45 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
src
src
 
 
tests
tests
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
CREDITS
CREDITS
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
RELEASES
RELEASES
 
 
composer.json
composer.json
 
 
config.m4
config.m4
 
 
package.xml
package.xml
 
 
php_sdl_mixer.c
php_sdl_mixer.c
 
 
php_sdl_mixer.h
php_sdl_mixer.h
 
 
php_sdl_mixer.stub.php
php_sdl_mixer.stub.php
 
 
php_sdl_mixer_arginfo.h
php_sdl_mixer_arginfo.h
 
 

Repository files navigation

SDL_mixer PHP Extension

SDL_mixer for PHP allows to easily load audio files (WAV, OGG, etc.) and play them. It requires SDL PHP Extension.

Installing with PIE

Install with PIE (PHP Installer for Extensions):

$ pie install kea/php-sdl-mixer

The SDL_mixer development files (e.g. libsdl2-mixer-dev on Debian/Ubuntu) and the SDL PHP extension must be installed first. If SDL_mixer is in a non-standard location:

$ pie install kea/php-sdl-mixer --with-sdl_mixer=/opt/sdl_mixer

Install via Pecl

$ pecl install sdl-beta sdl_mixer-devel

Building

$ phpize
$ ./configure --with-sdl_mixer
$ make
$ make install

Run tests with installed PHP:

$ php run-tests.php --show-diff -q

Run tests with docker

$ docker build --build-arg PHP_VERSION=8.4 -t php-sdl-mixer:8.4 .
$ docker run --rm php-sdl-mixer:8.4

About

SDL_Mixer binding for PHP

Resources

Readme
Zlib license
Activity

Stars

4 stars

Watchers

1 watching

Forks

3 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.