PHPackages                             nanuc/tall-resources - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. nanuc/tall-resources

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

nanuc/tall-resources
====================

08PHP

Since Nov 30Pushed 2y agoCompare

[ Source](https://github.com/nanuc/tall-resources)[ Packagist](https://packagist.org/packages/nanuc/tall-resources)[ RSS](/packages/nanuc-tall-resources/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Purpose
-------

[](#purpose)

Define resources for your models that can then be used in forms and tables. Currently it uses the great packages [tanthammar/tall-forms](https://github.com/tanthammar/tall-forms) for forms and [MedicOneSystems/livewire-datatables](https://github.com/MedicOneSystems/livewire-datatables) for datatables.

Installation
------------

[](#installation)

```
composer require nanuc/tall-resources@dev-master

```

Usage
-----

[](#usage)

### Define a resource

[](#define-a-resource)

```
namespace Domain\User\Resources;

use Nanuc\TallResources\Resources\Fields\Email;
use Nanuc\TallResources\Resources\Fields\TextString;
use Nanuc\TallResources\Resources\TallResource;

class UserResource extends TallResource
{
    protected function fields()
    {
        return [
            TextString::make('Name'),
            Email::make('Email'),
        ];
    }
}
```

### Use in form

[](#use-in-form)

```
public function fields()
{
    return UserResource::asForm();
}
```

Optionally you can define which fields you want to display:

```
public function fields()
{
    return UserResource::asForm(['name', 'created_at']);
}
```

### Use in table

[](#use-in-table)

```
public function columns()
{
    return UserResource::asTable();
}
```

### Table configuration

[](#table-configuration)

#### Actions

[](#actions)

You can define actions that will show up as last column of the table. If there is a route with the action parameter, it will be used - otherwise a Livewire method with the action parameter will be called.

```
public function columns()
{
    $tableConfiguration = new TallTableConfiguration(
        viewAction: 'users.view',
        editAction: 'edit',
        deleteAction: 'users.delete',
        actionKey: 'id'  // optional; defaults to 'id'
    );
    return UserResource::asTable($tableConfiguration);
}
```

Available fields
----------------

[](#available-fields)

### TextString

[](#textstring)

### Email

[](#email)

### Date

[](#date)

### Boolean

[](#boolean)

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity20

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/9dd4066526f273592da88a5b863d5302bb171dd626ffd3e646a0f282a0dc4db2?d=identicon)[oleloSebastian](/maintainers/oleloSebastian)

---

Top Contributors

[![SebastianSchoeps](https://avatars.githubusercontent.com/u/44115562?v=4)](https://github.com/SebastianSchoeps "SebastianSchoeps (12 commits)")

### Embed Badge

![Health badge](/badges/nanuc-tall-resources/health.svg)

```
[![Health](https://phpackages.com/badges/nanuc-tall-resources/health.svg)](https://phpackages.com/packages/nanuc-tall-resources)
```

###  Alternatives

[nfourtythree/entriessubset

Craft field type plugin that extends the core Entries field type to give extra settings with ability to restrict by entry type

1683.6k](/packages/nfourtythree-entriessubset)

PHPackages © 2026

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