just save it as a php .file... or an .inc file
only problem is apache by default, unless you tell it otherwise, will transmit .inc files across as plain text, hence making your project open-souce wether you like it or not.
i recommend ClassName.class.php
but its the .php thats important
then whenever a form of whatever needs to use it...just use one of the include, require include_once, require_once functions
<?php
[man]require_once[/man]( './path/to/file' );
$instance = new ClassName();
$instance->get_my_stuff();
?>