PHPackages                             costamarques/plugins - 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. [Framework](/categories/framework)
4. /
5. costamarques/plugins

Abandoned → [costamarques/plugins](/?search=costamarques%2Fplugins)ArchivedLibrary[Framework](/categories/framework)

costamarques/plugins
====================

Plugins para Adianti Framework

v0.0.5(4y ago)93.7k2MITPHP

Since Nov 11Pushed 1y ago3 watchersCompare

[ Source](https://github.com/gtcesar/Adianti-Plugins)[ Packagist](https://packagist.org/packages/costamarques/plugins)[ RSS](/packages/costamarques-plugins/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)DependenciesVersions (6)Used By (0)

Aviso
-----

[](#aviso)

Este projeto foi desativado e não está mais sendo mantido. Decidimos descontinuar o desenvolvimento deste componente em favor de uma solução mais atualizada e abrangente.

A partir de agora, recomendamos o uso do pacote [gtcesar/recursive-db-tree](https://github.com/gtcesar/recursive-db-tree) como alternativa. Este pacote oferece recursos mais recentes e estáveis para suas necessidades de manipulação de árvores de banco de dados.

Agradecemos a todos os usuários que contribuíram e apoiaram este projeto ao longo dos anos. Esperamos que você encontre o pacote recomendado útil para suas futuras necessidades de desenvolvimento.

Se você tiver alguma dúvida ou precisar de assistência adicional, sinta-se à vontade para entrar em contato conosco.

Atenciosamente, Equipe de Desenvolvimento

Adianti-Plugins [![](https://camo.githubusercontent.com/44294ebc5cd39b201e1752a2e628e23942d611f097a23316cb1862cd7d13d034/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f56657273c3a36f2d302e302e352d677265656e)](https://camo.githubusercontent.com/44294ebc5cd39b201e1752a2e628e23942d611f097a23316cb1862cd7d13d034/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f56657273c3a36f2d302e302e352d677265656e) [![](https://camo.githubusercontent.com/fc0a6547318a52043b8bbbd223941022b1b59fe103a64009895381b94bba6518/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656ec3a7612d4d49542d73756363657373)](https://camo.githubusercontent.com/fc0a6547318a52043b8bbbd223941022b1b59fe103a64009895381b94bba6518/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656ec3a7612d4d49542d73756363657373) [![](https://camo.githubusercontent.com/4113fad66517f7d75d8c0603c57b0df14424a4542aeaf69280e6f8e7ca4599f1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f416469616e74692d372e782d626c7565)](https://camo.githubusercontent.com/4113fad66517f7d75d8c0603c57b0df14424a4542aeaf69280e6f8e7ca4599f1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f416469616e74692d372e782d626c7565) [![](https://camo.githubusercontent.com/d2ef3dd5ed4c8f3c9c55988c774cf76d2245041d9c5ece25d913406c3a35f7f3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e782d626c756576696f6c6574)](https://camo.githubusercontent.com/d2ef3dd5ed4c8f3c9c55988c774cf76d2245041d9c5ece25d913406c3a35f7f3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e782d626c756576696f6c6574)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#adianti-plugins----)

> Plugins para Adianti Framework

Componentes disponíveis
-----------------------

[](#componentes-disponíveis)

  Componente Fonte de abstração    VanillaDBTree   Instalação
----------

[](#instalação)

Rode o comando `composer require costamarques/plugins`

Exemplo de uso - VanillaDBTree
------------------------------

[](#exemplo-de-uso---vanilladbtree)

```
CREATE TABLE IF NOT EXISTS `segmento` (
  `id` int(11) NOT NULL,
  `segmento_id` int(11) DEFAULT NULL,
  `descricao` varchar(200) COLLATE utf8_unicode_ci NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

INSERT INTO `segmento` (`id`, `segmento_id`, `descricao`) VALUES
(1, NULL, 'Transporte'),
(2, 1, 'Executivo'),
(3, 1, 'Fracionado'),
(4, NULL, 'Informática'),
(5, 4, 'Software'),
(6, 4, 'Suporte e manutenção'),
(7, NULL, 'Varejo'),
(8, 7, 'Materiais de limpeza'),
(16, 8, 'Químicos'),
(17, 16, 'Controlados');
```

```
use Costamarques\Plugins\VanillaTree\VanillaDBTree;

class SegmentoForm extends TPage
{
    /**
     * Class constructor
     * Creates the page
     */
    function __construct()
    {
        parent::__construct();

        // creates a panel
        $panel = new TPanelGroup('Segmentos');

        $segmentos = new VanillaDBTree('segmento', 'DATABASE', 'Segmento', 'id', 'segmento_id', 'descricao', 'id asc');
        $segmentos->collapse();
        $segmentos->setItemAction(new TAction(array($this, 'onSelect')));

        $panel->add($segmentos);

        // wrap the page content using vertical box
        $vbox = new TVBox;
        $vbox->style = 'width: 100%';
        $vbox->add($panel);

        parent::add($vbox);
    }

    public function onSelect($param)
    {
        new TMessage('info', str_replace(',', '', json_encode($param)));
    }

}
```

Resultado
---------

[](#resultado)

[![](https://github.com/gtcesar/Adianti-Plugins/raw/main/print-screen/vanilladbtree.png?raw=true)](https://github.com/gtcesar/Adianti-Plugins/blob/main/print-screen/vanilladbtree.png?raw=true)

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance26

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity44

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 ~0 days

Total

5

Last Release

1645d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e4108dc08ce45260785a4dc938ec0d29c65460520388aa3497f4b63bc178c752?d=identicon)[gtcesar](/maintainers/gtcesar)

---

Top Contributors

[![gtcesar](https://avatars.githubusercontent.com/u/53349186?v=4)](https://github.com/gtcesar "gtcesar (29 commits)")

### Embed Badge

![Health badge](/badges/costamarques-plugins/health.svg)

```
[![Health](https://phpackages.com/badges/costamarques-plugins/health.svg)](https://phpackages.com/packages/costamarques-plugins)
```

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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