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

Sped Common Laravel Package

nfephp-org/sped-common

Biblioteca PHP com classes utilitárias compartilhadas para os projetos SPED da nfephp-org: NFe, CTe, MDFe, e-Financeira, eSfinge e eSocial. Reúne componentes comuns para facilitar integrações e reutilização de código.

View on GitHub
Deep Wiki
Context7

NFePHP\Common\DOMImproved::class

Extende a classe DOMDocument

MÉTODOS

function getNodeValue($nodeName, $itemNum = 0, $extraTextBefore = '', $extraTextAfter = ''):string

function getValue(DOMElement $node, $name):string

function getNode($nodeName, $itemNum = 0):DOMElement

function getChave($nodeName = 'infNFe'):string

function addChild(

    DOMElement &$parent,
    $name,
    $content,
    $obrigatorio = false,
    $descricao = '',
    $force = false
):void
Parametro Tipo Descrição
$parent DOMElement Tag PAI
$name string nome da tag filha
$content null, string, float, int conteudo a ser inserido na tag filha
$obrigatorio boolean se true a tag será inserida mesmo vazia
$descricao string auxilio para tratamento de erro
$force boolean se true a tag será inserida mesmo vazia

NOTA: se $content for NULL nada será feito, a operação será ignorada.

function appChild(DOMElement &$parent, DOMElement $child = null, $msg = ''):void

function appExternalChild(DOMElement &$parent, DOMElement $child):void

function appExternalChildBefore(

    DOMElement &$parent,
    DOMElement $child,
    $before
):void

function appChildBefore(DOMElement &$parent, DOMElement $child = null, $before = '', $msg = ''):void

function addArrayChild(DOMElement &$parent, $arr):integer

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
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
spatie/mailcoach-vapor