Home » File Formats » File_MARC
Parse, modify, and create MARC records
Download latest release 1.4.1 (there might be newer Composer installable version)
License: GNU Lesser General Public License
Description
The standard for machine-readable cataloging (MARC) records is documented at http://loc.gov/marc/. This package enables you to read existing MARC records from a file, string, or (using the YAZ extension), from a Z39.50 source. You can also use this package to create new MARC records.
This package is based on the PHP MARC package, originally called "php-marc", that is part of the Emilda Project (http://www.emilda.org). Christoffer Landtman generously agreed to make the "php-marc" code available under the GNU LGPL so it could be used as the basis of this PEAR package.
Documentation
Maintainers
- Dan Scott (dbs) — lead, active
Dependencies
Required
- PHP (>= 5.6)
- PEAR Installer (>= 1.4.0)
Optional
Releases
- 1.4.1 (stable, 2019-11-13)
Release notes
License: GNU Lesser General Public License
1.4.1
* Reintroduce include_path to composer.json - 1.4.0 (stable, 2019-11-12)
- 1.3.0 (stable, 2018-09-27)
- 1.2.0 (stable, 2017-12-04)
- 1.1.5 (stable, 2017-01-23)
- 1.1.4 (stable, 2017-01-23)
- 1.1.3 (stable, 2016-08-30)
- 1.1.2 (stable, 2015-09-01)
- 1.1.1 (stable, 2014-01-28)
- 1.1.0 (stable, 2014-01-19)
- 1.0.2 (stable, 2013-11-28)
- 1.0.1 (stable, 2013-10-30)
- 1.0.0 (stable, 2013-10-04)
- 0.8.0 (beta, 2013-10-03)
- 0.7.3 (beta, 2013-09-13)
- 0.7.2 (beta, 2013-09-04)
- 0.7.1 (beta, 2012-04-07)
- 0.6.2 (beta, 2011-02-08)
- 0.6.1 (beta, 2010-08-15)
- 0.6.0 (beta, 2010-08-14)
- 0.5.2 (beta, 2010-08-05)
- 0.5.1 (beta, 2010-07-31)
- 0.5.0 (beta, 2010-07-31)
- 0.4.4 (beta, 2009-12-17)
- 0.4.3 (beta, 2009-11-12)
- 0.4.2 (beta, 2009-09-28)
- 0.4.1 (beta, 2009-09-23)
- 0.4.0 (beta, 2009-09-22)
- 0.3.0 (beta, 2009-02-25)
- 0.2.3 (beta, 2008-11-08)
- 0.2.2 (beta, 2008-10-30)
- 0.2.1 (beta, 2008-10-30)
- 0.2.0 (beta, 2008-10-30)
- 0.1.2 (alpha, 2007-02-24)
- 0.1.1 (alpha, 2007-01-01)
- 0.1.0 (alpha, 2006-11-03)
Bugs
| ID | Status | Type | Version | Date | Summary |
|---|---|---|---|---|---|
| #11252 | Bogus | Doc | 2007-06-08 | User note that is a documentation problem | |
| #14923 | Closed | Req | CVS | 2008-10-30 | Improve PHPCS results |
| #15898 | Bogus | Bug | 2009-02-13 | MARC_Record toRaw() | |
| #16169 | Bogus | Bug | 0.3.0 | 2009-05-02 | memory leak in File/MARC/List.php |
| #16642 | Closed | Bug | 0.4.1 | 2009-09-24 | Warnings when processing a marcxml record |
| #16783 | Closed | Req | 0.4.2 | 2009-11-12 | Better validation when creating a field |
| #17264 | Closed | Bug | 0.4.4 | 2010-03-24 | $marc_record->getField('xxx') must get value on first record |
| #17704 | Closed | Bug | SVN | 2010-08-15 | Unit tests fail (dir layout?) |
| #18251 | Closed | Req | 0.6.1 | 2011-02-08 | A fix for checking the record length |
| #19003 | Closed | Bug | SVN | 2011-11-14 | adjust error_reporting (for PEAR QA team) |
| #19845 | Closed | Bug | 0.7.1 | 2013-03-07 | Record::toXml returns nothing |
| #19846 | Wont fix | Bug | 0.7.1 | 2013-03-07 | File_MARC::_decode throws exception |
| #21167 | Closed | Bug | 1.1.3 | 2017-01-21 | insertField method does not work properly |
| #21219 | Open | Bug | 1.1.5 | 2017-06-15 | toXML method modifies the MARC leader |
| #21235 | Open | Bug | 1.1.5 | 2017-08-18 | toXML arguments dont make sense |
| #21246 | Analyzed | Bug | 1.1.5 | 2017-10-08 | File_MARC_Data_Field::deleteSubfield does not work as expected |