Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Rdf Helpers Laravel Package

sweetrdf/rdf-helpers

sweetrdf/rdf-helpers provides helper classes to implement sweetrdf/rdfInterface: DefaultGraph, a GenericQuadIterator for arrays/quads/iterators, N-Triples serialization utilities, and an RdfNamespace implementation.

View on GitHub
Deep Wiki
Context7
2.1.2
2.1.1
2.1.0
2.0.0
1.2.0
1.1.1

rdfHelpers\GenericQuadIterator::current() and rdfHelpers\GenericTermIterator::current() now return null if the iterator is invalid.

1.1.0

rdfHelpers\TermIteratorInterface extended with following methods:

  • contains(TermCompareInterface $term): bool allowing to perform in_array()-equivalent check
  • getValues(): array<string> fetching string values of all terms in the iterator as array.
    • it allows syntax like $iter->getValues()[0] ?? $default
  • intersect(array<TermInterface>|Iterator<TermInterface>|IteratorAggregate<TermInterface>|TermInterface $terms): self and skip(array<TermInterface>|Iterator<TermInterface>|IteratorAggregate<TermInterface>|TermInterface $terms):self allowing to quickly filter the iterator content
1.0.2
  • Make compatible with both rdfInterface v1 and v2
  • RdfNamespace::add() checks if the $iriPrefix isn't already registered
1.0.1
1.0.0
0.8.0
0.7.0

\rdfHelpers\GenericQuadIterator class implementing rdfInterface\TermIterator added.

0.6.2
  • \rdfHelpers\NtriplesUtil::serializeLiteral() now adds quotes around literal's value
  • \rdfHelpers\GenericQuadIterator can also handle \IteratorAggregate objects
0.6.1

Relaxed dependency on rdfInterface to make it easier to use the library in dev environments depending on non-released rdfInterface versions.

0.6.0
0.5.2
0.4.0
0.3.1

An embarassing error in n-triples escaping fixed

0.3.0
0.2.0

NtriplesUtil methods serialiseIri(), serialiseLiteral() and serialise() become serializeIri(), serializeLiteral() and serialize().

0.1.0
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky