php-marc
php-marc copied to clipboard
Simple interface for working with MARC records using the File_MARC package
According to MARCspec [9.6 Reference to indicator values](https://marcspec.github.io/MARCspec/marc-spec.html#reference-to-indicator-values), i am trying to to do a query on 264 fields with second indicator is value "1" `->query('264{^2=\1}')` Receiving Exception: ``` Detected...
```php $xml = $this->fetchXml($identifier); $record = Marc\Record::fromString($xml); $fields = $record->getFields(); ``` ``` Fatal error: Uncaught TypeError: array_map(): Argument #2 ($array) must be of type array, File_MARC_List given in /einwww/mycode/marc21import/vendor/scriptotek/marc/src/Record.php:115 Stack...
Thanks for the great code. How can I loop through all subfields of a field. For example the field 505 is generally used to store table of contents of a...
This plug in is excellent, but can we have a documentation for this plugin, or some example for us to read? So that it makes us easier to use Other...
As discussed in https://github.com/scriptotek/php-marc/issues/15#issuecomment-552375262, this might be a good idea to better support IDE code hinting while still retaining a fluent / less verbose interface.
For PHP 8.2 curly brace ${var} are deprecated.