PHPackages                             spinon/uccello-archive - 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. spinon/uccello-archive

ActiveLibrary

spinon/uccello-archive
======================

Archivage d'objets

1.0.1(7y ago)010MITJavaScript

Since Apr 18Pushed 7y agoCompare

[ Source](https://github.com/AlexSpinOn/Uccello-Archive)[ Packagist](https://packagist.org/packages/spinon/uccello-archive)[ RSS](/packages/spinon-uccello-archive/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Uccello-Archive package
=======================

[](#uccello-archive-package)

**Installation**

```
composer require spinon/uccello-archive
```

```
php artisan vendor:publish --provider="Spinon\\UccelloArchive\\Providers\\AppServiceProvider"
```

Once installation is done, you need to alter your models tables through migrations to add the 'archived\_at' field :

```
$table->dateTime('archived_at')->nullable();
```

**Note** : if you want to use a different field name, you'll need to override the $ARCHIVED\_AT variable in the model using the ArchiveTrait :

```
public static $ARCHIVED_AT = 'custom_fiedname';
```

Then you need to create a new listing view to override Uccello's. Put the code below into resources/views/uccello/modules/default/list/main.blade.php :

```
@extends('uccello::modules.default.list.main')

@section('script')
    {!! Html::script(mix('js/autoloader.js', 'vendor/spinon/uccello-archive')) !!}
@endsection

model_class, "isArchivable") && ($module->model_class)::isArchivable() === true); ?>

{{-- Row template used by the query --}}
@section('datatable-row-template')

    &nbsp;

    @foreach ($datatableColumns as $column)
    &nbsp;
    @endforeach

        {{-- Listing view override --}}
        @if (Auth::user()->canUpdate($domain, $module) && $is_archivable)
        archive
        @endif

        @if (Auth::user()->canUpdate($domain, $module))
        edit
        @endif

        @if (Auth::user()->canDelete($domain, $module))
        delete
        @endif

@endsection

@section('before-columns-visibility-button')
    @if ($is_archivable)

            {{ trans('uccello-archive::archive.button.display') }}
        arrow_drop_down

        {{ trans('uccello-archive::archive.button.all_records') }}
        {{ trans('uccello-archive::archive.button.unarchived_records') }}
        {{ trans('uccello-archive::archive.button.archived_records') }}

    @endif
@endsection
```

Finally, to use the ArchiveTrait, you need to add these lines to the corresponding Models :

```
use Spinon\UccelloArchive\Traits\ArchiveTrait;

class MyModel extends Model
{
  use ArchiveTrait;
  ...
}
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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

2

Last Release

2583d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/38107121f593b761ff1bbef019d8dcd5179b3e1e88931c7645174b835fbae670?d=identicon)[AlexSpinOn](/maintainers/AlexSpinOn)

---

Top Contributors

[![AlexSpinOn](https://avatars.githubusercontent.com/u/37073141?v=4)](https://github.com/AlexSpinOn "AlexSpinOn (2 commits)")

### Embed Badge

![Health badge](/badges/spinon-uccello-archive/health.svg)

```
[![Health](https://phpackages.com/badges/spinon-uccello-archive/health.svg)](https://phpackages.com/packages/spinon-uccello-archive)
```

PHPackages © 2026

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