Skip to content

scipper/extension

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP-SDL

Installation

Requirements

  • C compiler
  • Automake tools
  • PHP devel
  • libSDL v1.2.* devel libraries and headers

Via PECL (recommended)

pecl install sdl-beta

Manual

Download the source code and within the main directory run these commands:

phpize

./configure --with-sdl (or --with-sdl=) make make test sudo make install

Then add

extension=sdl.so

to your php.ini file.

Installing on Windows

We are working on the Windows build. Stay tuned.

Documentation

The SDL extension mimics in almost every single aspect to the official C library, so until we write our own documentation, refer to the C counterpart.

Support / Feedback / Bugs / Feature Requests

Please submit anything that needs our attention to issues section on Github. We are commited to attend any request in a short timespan if it's a sensible matter.

About

PHP-SDL extension source code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 97.2%
  • PHP 2.8%