PHPackages                             davidmars/pov-2018 - 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. davidmars/pov-2018

ActiveLibrary

davidmars/pov-2018
==================

Encore un autre framework PHP orienté MVC

0.1.1(7y ago)0131PHP

Since Aug 7Pushed 1y ago1 watchersCompare

[ Source](https://github.com/davidmars/pov-2018)[ Packagist](https://packagist.org/packages/davidmars/pov-2018)[ RSS](/packages/davidmars-pov-2018/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (1)

pov-2018
========

[](#pov-2018)

work in progress

pov.jquery.more
---------------

[](#povjquerymore)

### POV only

[](#pov-only)

Méthodes dépendantes du framework PHP

#### $(element).povRefresh(cb);

[](#elementpovrefreshcb)

Permet de rafraichir le code html d'un élément.

L'attribut `data-pov-v-path` est obligatoire, il permet de savoir quelle vue charger. L'attribut `data-pov-v-uid` est optionel, il permet d'envoyer le paramètre `uid` qui sera réceptionné par la controlleur PHP `PovApi/getView`.

```

    Mon machin

```

\*\* Attention\*\* Si l'élément qu'on souhaite rafraichir a un champ texte et que cet élément a le focus, alors le template ne sera rafraichit qu'une fois le focus retiré. Cette règle ergonomique évite qu'un utilisateur ne perde le focus quand il saisit du texte.

### Utilitaires

[](#utilitaires)

Méthodes sans icidences directes sur le framework.

#### $(element).removeClassPrefix('color-')

[](#elementremoveclassprefixcolor-)

Per met de supprimer toutes les classes css qui commencenet par "color-"

#### $(element).isInViewport() Savoir si un $element est visible dans l'écran

[](#elementisinviewport-savoir-si-un-element-est-visible-dans-lécran)

Pratique pour optimiser les grosses interfaces DOM

```
if($(element).isInViewport()){
    $(element).addClass("affiche-moi")
}else{
    $(element).removeClass("affiche-moi")
}
```

##### Exemple concrêt

[](#exemple-concrêt)

Les exemples de codes suivants permettent de masquer les éléments DOM .visible-in-viewport

###### HTML

[](#html)

```

    Lot of stuff hard to display

```

###### Less CSS

[](#less-css)

```
.visible-in-viewport:not(.in-viewport){
    min-height: 50px;
    min-width: 50px;
    *{
      display: none;
    }
}
.visible-in-viewport.in-viewport{
  //display par défaut si dans le viewport
}
```

###### Javascript

[](#javascript)

```
/**
 * ajoute ou enlève la classe .in-viewport sur les éléments .visible-in-viewport
 */
function visibleInViewport(){
    $('.visible-in-viewport').each(function() {
        if ($(this).isInViewport()) {
            $(this).addClass("in-viewport")
        } else {
            $(this).removeClass("in-viewport")
        }
    });
}

//écouteurs DOM

//tous les éléments
$("*").on('scroll', function() {
    visibleInViewport();
});

//la fenêtre
$(window).on('resize scroll', function() {
    visibleInViewport();
});
```

###  Health Score

27

↑

LowBetter than 49% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 98.7% 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

Unknown

Total

1

Last Release

2838d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0c928c3b501e96035a9cb6598614d905967b7b2c262cd04ed0989bc6db6c4bf8?d=identicon)[davidmars](/maintainers/davidmars)

---

Top Contributors

[![davidmars](https://avatars.githubusercontent.com/u/1409408?v=4)](https://github.com/davidmars "davidmars (156 commits)")[![juliettepxv](https://avatars.githubusercontent.com/u/3648803?v=4)](https://github.com/juliettepxv "juliettepxv (2 commits)")

### Embed Badge

![Health badge](/badges/davidmars-pov-2018/health.svg)

```
[![Health](https://phpackages.com/badges/davidmars-pov-2018/health.svg)](https://phpackages.com/packages/davidmars-pov-2018)
```

###  Alternatives

[laravel/jetstream

Tailwind scaffolding for the Laravel framework.

4.1k19.8M136](/packages/laravel-jetstream)[bagisto/bagisto

Bagisto Laravel E-Commerce

26.2k161.6k7](/packages/bagisto-bagisto)[laravolt/avatar

Turn name, email, and any other string into initial-based avatar or gravatar.

2.0k5.4M31](/packages/laravolt-avatar)[unisharp/laravel-filemanager

A file upload/editor intended for use with Laravel 5 to 10 and CKEditor / TinyMCE

2.2k3.3M74](/packages/unisharp-laravel-filemanager)[aimeos/aimeos-core

Full-featured e-commerce components for high performance online shops

4.5k346.9k48](/packages/aimeos-aimeos-core)[jeffgreco13/filament-breezy

A custom package for Filament with login flow, profile and teams support.

1.0k1.7M41](/packages/jeffgreco13-filament-breezy)

PHPackages © 2026

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