php-marc | Simple interface for working with MARC records

 by   scriptotek PHP Version: v2.2.0 License: MIT

kandi X-RAY | php-marc Summary

kandi X-RAY | php-marc Summary

php-marc is a PHP library. php-marc has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

This package provides a simple interface to work with MARC21 records using the excellent File_MARC and MARCspec packages. It doesn't do any of the heavy lifting itself, but instead. If you don't need any of this, you might want to use File_MARC directly instead. Want to contribute to this project? Please see CONTRIBUTING.md.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              php-marc has a low active ecosystem.
              It has 39 star(s) with 8 fork(s). There are 12 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 2 open issues and 12 have been closed. On average issues are closed in 56 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of php-marc is v2.2.0

            kandi-Quality Quality

              php-marc has 0 bugs and 0 code smells.

            kandi-Security Security

              php-marc has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              php-marc code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              php-marc is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              php-marc releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.
              php-marc saves you 5989 person hours of effort in developing the same functionality from scratch.
              It has 12498 lines of code, 226 functions and 57 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed php-marc and discovered the below as its top functions. This is intended to give you an instant insight into php-marc implemented functionality, and help decide if they suit your requirements.
            • Get a collection of XML records .
            • Get MARC records .
            • Get the first record .
            • Get the field from a record .
            • Make a class instance .
            • Makes a class instance .
            • Return array representation of this object .
            • Create field instance .
            • Get ID .
            • Get the query parts .
            Get all kandi verified functions for this library.

            php-marc Key Features

            No Key Features are available at this moment for php-marc.

            php-marc Examples and Code Snippets

            scriptotek/marc,Convenience methods on the Record class,isbns
            PHPdot img1Lines of Code : 22dot img1License : Permissive (MIT)
            copy iconCopy
            use Scriptotek\Marc\Record;
            
            $record = Record::fromString('
              
                99999cam a2299999 u 4500
                98218834x
                
                  8200424421
                  h.
                  Nkr 98.00
                
              ');
            $isbn = $record->isbns[0];
            
            // Get the string representation of the field:
            echo $is  
            scriptotek/marc,Reading records
            PHPdot img2Lines of Code : 21dot img2License : Permissive (MIT)
            copy iconCopy
            use Scriptotek\Marc\Collection;
            
            $collection = Collection::fromFile($someFileName);
            foreach ($collection as $record) {
                echo $record->getField('250')->getSubfield('a')->getData() . "\n";
            }
            
            $response = file_get_contents('http://lx2.loc.go  
            scriptotek/marc,Querying with MARCspec
            PHPdot img3Lines of Code : 8dot img3License : Permissive (MIT)
            copy iconCopy
            foreach ($record->query('650{$2=\noubomn}') as $field) {
               echo $field->getSubfield('a')->getData();
            }
            
            foreach ($record->query('650$a{$2=\noubomn}') as $subfield) {
               echo $subfield->getData();
            }
            
            $record->query('250$a')->firs  

            Community Discussions

            No Community Discussions are available at this moment for php-marc.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install php-marc

            If you have Composer installed, the package can be installed by running.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link