PHPackages                             risetechapps/view-suite - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. risetechapps/view-suite

ActiveLibrary[Templating &amp; Views](/categories/templating)

risetechapps/view-suite
=======================

Pacote de views personalizadas da Rise Tech (erros, e-mails e layouts compartilhados).

1.3.1(2w ago)0406↓61.5%1MITBladePHP ^8.3

Since Nov 5Pushed 3mo agoCompare

[ Source](https://github.com/risetechapps/view-suite)[ Packagist](https://packagist.org/packages/risetechapps/view-suite)[ Docs](https://github.com/risetechapps/view-suite)[ RSS](/packages/risetechapps-view-suite/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (7)Versions (7)Used By (1)

🌅 Rise Tech ViewSuite
=====================

[](#-rise-tech-viewsuite)

Pacote de **views personalizadas** da [Rise Tech](https://risetech.com.br) para aplicações Laravel. Inclui **páginas de erro**, **templates de e-mail** (HTML + texto), **componentes Blade**, **layout web base** e **página de manutenção**, prontos para uso, traduzidos em 15 idiomas e totalmente personalizáveis.

> Compatível com **Laravel 12+** e **PHP 8.3+**

[![Packagist Version](https://camo.githubusercontent.com/51c5657ca874f2976748989097e19a6cffbe44301f780e462c3fef2da07e8879/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7269736574656368617070732f766965772d73756974652e7376673f636f6c6f723d303062666135)](https://packagist.org/packages/risetechapps/view-suite)[![License](https://camo.githubusercontent.com/890bd5ebd742ee7e332d1a974d5a9a3210973d155791931c050a2f5a4ebb6923/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f7269736574656368617070732f766965772d73756974652e7376673f636f6c6f723d303062666135)](LICENSE)[![PHP Version](https://camo.githubusercontent.com/397fdb003e1ce45ddaa601a46346dd54e077dac402e967bc3d6ebd5b5f3b30b1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e332d626c75652e737667)](https://www.php.net/)[![Laravel](https://camo.githubusercontent.com/b72e0aa3b09f6ee9f1cd47f19792a8204408312803c6b277768a5d2c99ffd60c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d31322e782d7265642e737667)](https://laravel.com)

---

🚀 Instalação
------------

[](#-instalação)

```
composer require risetechapps/view-suite
```

O pacote é auto-registrado via *Service Provider* (`RiseTechApps\ViewSuite\ViewSuiteServiceProvider`). Sem passos manuais.

---

⚙️ Publicação (opcional)
------------------------

[](#️-publicação-opcional)

TagComandoDestinoConfig`--tag=config``config/view-suite.php`Views`--tag=views``resources/views/vendor/view-suite/`Traduções`--tag=lang``resources/lang/vendor/view-suite/````
php artisan vendor:publish --provider="RiseTechApps\ViewSuite\ViewSuiteServiceProvider" --tag=views
```

Views/traduções publicadas têm prioridade sobre as do pacote.

---

🎨 Marca configurável
--------------------

[](#-marca-configurável)

Todos os e-mails leem cores/logo/redes de `config/view-suite.php` → `brand`. Cada item tem fallback, então funciona out-of-the-box.

EnvConfigPadrãoAplica em`VIEW_SUITE_LOGO``brand.logo`banner RTbanner do topo do e-mail`VIEW_SUITE_ICON``brand.icon`logo RTlogo pequeno do `index``VIEW_SUITE_COLOR``brand.color``#fb5f3d`cor do botão`VIEW_SUITE_HEADER_COLOR``brand.header_color``#003188`título / código OTP`VIEW_SUITE_NAME``brand.name``Rise Tech`layout web / footer`VIEW_SUITE_URL``brand.url`site RTlayout webÍcones sociais do rodapé em `brand.social.{facebook,x,instagram,pinterest,linkedin,youtube}` — sobrescreva publicando o config.

```
VIEW_SUITE_LOGO=https://cdn.suaempresa.com/logo.png
VIEW_SUITE_COLOR=#0066ff
VIEW_SUITE_HEADER_COLOR=#111827
```

---

🧩 Temas
-------

[](#-temas)

As views de `errors` e `emails` são organizadas por tema (`default`). Ao referenciar você **omite o tema** — o pacote resolve `view-suite::errors.404` → `errors.{tema}.404` com fallback para `default`.

EnvConfigPadrão`ERROR_THEME``theme.errors``default``EMAIL_THEME``theme.emails``default`Para um tema custom, crie `errors//404.blade.php`. Se a view não existir nesse tema, cai automaticamente para `default`.

---

🚨 Páginas de erro
-----------------

[](#-páginas-de-erro)

Um *ExceptionHandler* intercepta requisições **web** (não-JSON, não `api/*`) e renderiza a view do status HTTP. Não precisa de código.

**Status cobertos:** `400, 401, 402, 403, 404, 405, 408, 410, 413, 418, 419, 422, 423, 429, 500, 502, 503, 504`

> Em `APP_DEBUG=true`, erros 500 caem no handler padrão do Laravel (stack trace).

As views são **self-contained** (CSS inline, sem CDN externo). Renderização manual:

```
return response()->view('view-suite::errors.404', [], 404);
```

---

📧 Templates de e-mail
---------------------

[](#-templates-de-e-mail)

Todos estendem `emails.layout`, reusam os partials e localizam o texto (15 idiomas), com valores dinâmicos via variáveis.

TemplateViewPrincipais variáveisGenérico (data-driven)`emails.index``subject_message`, `line`, `line_header[]`, `tables[]`, `lists[]`, `action`, `line_footer[]`, `signature[]`Boas-vindas`emails.welcome``name`, `line`/`lines[]`, `action{url,text}`, `subject`, `signature`Verificar e-mail (OTP)`emails.verify_email``code`, `expires`, `action`, `subject`, `line`Código de login (OTP)`emails.login_otp``code`, `expires`, `action`, `subject`, `line`Redefinir senha`emails.reset_password``action{url}`, `expires`, `subject`, `line`Fatura / recibo`emails.invoice``items{headers[],rows[]}`, `total`, `action`, `line`Notificação / alerta`emails.notification``subject`, `line`/`lines[]`, `level` (info/success/warning/error), `action`Conta excluída`emails.account_deleted``name`, `line`, `lines[]`, `action`, `subject`### Exemplo — OTP com versão texto-plano (multipart)

[](#exemplo--otp-com-versão-texto-plano-multipart)

```
Mail::send(
    ['view-suite::emails.verify_email', 'view-suite::emails.text.verify_email'],
    ['code' => '123456', 'expires' => 10],
    fn ($m) => $m->to($user->email)->subject('Verifique seu e-mail')
);
```

Versões texto-plano disponíveis em `emails.text.{welcome,verify_email,reset_password,login_otp,notification}`.

### Exemplo — Notificação

[](#exemplo--notificação)

```
Mail::send('view-suite::emails.notification', [
    'subject' => 'Falha no pagamento',
    'level'   => 'error',
    'lines'   => ['Não conseguimos processar sua cobrança.'],
    'action'  => ['url' => $url, 'text' => 'Atualizar cartão'],
], fn ($m) => $m->to($user->email)->subject('Alerta'));
```

---

🧱 Componentes Blade
-------------------

[](#-componentes-blade)

```
Acessar

    Seu pagamento foi confirmado.

```

`level` do alert: `info`, `success`, `warning`, `error`.

---

🖼️ Layout web base
------------------

[](#️-layout-web-base)

Para páginas web (não-e-mail), brand-aware e self-contained:

```
@extends('view-suite::layouts.base')

@section('title', 'Minha página')

@section('content')
    Conteúdo da sua página.
@endsection
```

Seções opcionais: `head`, `header`, `footer`.

---

🔧 Página de manutenção
----------------------

[](#-página-de-manutenção)

```
php artisan down --render="view-suite::maintenance"
```

---

🌍 Idiomas
---------

[](#-idiomas)

15 idiomas incluídos: `da`, `de`, `el`, `en`, `es_ES`, `fr`, `it`, `ja`, `pl`, `pt_BR`, `pt_PT`, `ru`, `sv_SE`, `tr`, `zh_TW`.

> As pastas seguem a convenção do Laravel (**underscore**, ex. `pt_BR`) — o valor de `app.locale` deve casar exatamente.

---

🧪 Testes &amp; Análise estática
-------------------------------

[](#-testes--análise-estática)

```
composer test           # PHPUnit (Orchestra Testbench)
composer test-coverage  # cobertura HTML
composer analyse        # PHPStan / Larastan (level 5)
```

---

🛠️ Requisitos
-------------

[](#️-requisitos)

DependênciaVersãoPHP^8.3Laravel^12.0Orchestra Testbench^10.0PHPUnit^11.0Larastan^3.0---

🧑‍💻 Autor
---------

[](#‍-autor)

**Rise Tech**📧 🌐 💼

---

🪪 Licença
---------

[](#-licença)

Licenciado sob a [MIT License](LICENSE).

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance88

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~52 days

Recently: every ~35 days

Total

6

Last Release

15d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/160299136?v=4)[Rise Tech](/maintainers/risetechapps)[@risetechapps](https://github.com/risetechapps)

---

Top Contributors

[![risetechapps](https://avatars.githubusercontent.com/u/160299136?v=4)](https://github.com/risetechapps "risetechapps (26 commits)")

---

Tags

laraveltemplatesviewsrisetechappsview-suite

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

### Embed Badge

![Health badge](/badges/risetechapps-view-suite/health.svg)

```
[![Health](https://phpackages.com/badges/risetechapps-view-suite/health.svg)](https://phpackages.com/packages/risetechapps-view-suite)
```

###  Alternatives

[moonshine/moonshine

Laravel administration panel

1.3k268.2k87](/packages/moonshine-moonshine)[hasinhayder/tyro-dashboard

Tyro Dashboard - Beautiful admin dashboard for managing Tyro roles, privileges, users, and settings

5495.1k](/packages/hasinhayder-tyro-dashboard)[ublabs/blade-simple-icons

A package to easily make use of Simple Icons in your Laravel Blade views.

1866.3k](/packages/ublabs-blade-simple-icons)[technikermathe/blade-lucide-icons

A package to easily make use of Lucide icons in your Laravel Blade views.

18473.9k13](/packages/technikermathe-blade-lucide-icons)[hasinhayder/tyro-login

Tyro Login - Beautiful, customizable authentication views for Laravel 12 &amp; 13

2488.1k7](/packages/hasinhayder-tyro-login)[cornford/bootstrapper

An easy way to intergrate Twitter Bootstrap with Laravel.

232.7k](/packages/cornford-bootstrapper)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
