Download the PHP package gsferro/responseview without Composer
On this page you can find all versions of the php package gsferro/responseview. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package responseview
- Pode ser usado com Livewire.
Instalação
- Faça o download via composer
composer require gsferro/responseview - Adicione no controller a trait
use ResponseView;
Métodos
$this->addData($chave, $valor)
Prepara os dados para ser enviado para a view dentro do scope do metodo
ex:
$this->addMergeData($chave, $valor)
Prepara os dados para ser enviado para a view globalmente. deve ser usado no construct do Controller
ex:
$this->addTitulo($valor)/$this->addSubTitulo($valor)
Coloca um titulo e um subtitulo na pagina
ex:
$this->addBreadcrumb($titulo, $href = null, $icone = null)
Adiciona o breadcrumb em cada view
@param string $titulo
@param null $href [route() | url()]
@param null $icone [fa fa- | glyphicon glyphicon-]
ex
$this->addArrayData(array $array)
Adiciona um array direto no data
ex:
$this->addArrayMergeData(array $array)
Adiciona um array direto no mergeData
ex:
All versions of responseview with dependencies
PHP Build Version
Package Version
No informations.
The package gsferro/responseview contains the following files
Loading the files please wait ...