Download the PHP package necorupt/php-gedcom without Composer
On this page you can find all versions of the php package necorupt/php-gedcom. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download necorupt/php-gedcom
More information about necorupt/php-gedcom
Files in necorupt/php-gedcom
Package php-gedcom
Short Description A GEDCOM file parser (read + write) for PHP 8.2+
License MIT
Homepage http://github.com/familytree365/php-gedcom
Informations about the package php-gedcom
php-gedcom
Requirements
- requires PHP 8.2 (or later).
Installation
There are two ways of installing php-gedcom.
Composer
To install php-gedcom in your project using composer, simply add the following require line to your project's composer.json file:
{
"require": {
"necorupt/php-gedcom": "3.0.*"
}
}
Download and __autoload
If you are not using composer, you can download an archive of the source from GitHub and extract it into your project. You'll need to setup an autoloader for the files, unless you go through the painstaking process if requiring all the needed files one-by-one. Something like the following should suffice:
Usage
To parse a GEDCOM file and load it into a collection of PHP Objects, simply instantiate a new Parser object and pass it the file name to parse. The resulting Gedcom object will contain all the information stored within the supplied GEDCOM file:
Contributing
Pull requests are welcome, as are issues.
License
MIT License (see License.md). This means you must retain the copyright and permission notice is all copies, or substantial portions of this software.
Contributors
All versions of php-gedcom with dependencies
ext-mbstring Version *