PHPackages                             inerba/postare-kit-12 - 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. inerba/postare-kit-12

ActiveProject[Framework](/categories/framework)

inerba/postare-kit-12
=====================

Un moderno starter kit basato sul TALL stack con Filament per il backend.

v1.0.2(10mo ago)0131MITPHPPHP ^8.2

Since Jun 4Pushed 9mo ago1 watchersCompare

[ Source](https://github.com/inerba/postare-kit-12)[ Packagist](https://packagist.org/packages/inerba/postare-kit-12)[ RSS](/packages/inerba-postare-kit-12/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (31)Versions (4)Used By (0)

Postare Kit 12
==============

[](#postare-kit-12)

Un moderno starter kit basato sul TALL stack (Tailwind CSS, Alpine.js, Laravel, Livewire) con Filament per il backend.

🚀 Tecnologie Utilizzate
-----------------------

[](#-tecnologie-utilizzate)

- **Laravel 12.x** - Framework PHP
- **Filament 3.3** - Admin Panel e CRUD Builder
- **Tailwind CSS 4.1** - Framework CSS Utility-First / Frontend
- **Tailwind CSS 3.4** - Framework CSS Utility-First / Filament Admin
- **Alpine.js** - Framework JavaScript leggero
- **Vite** - Build tool e bundler
- **PHP 8.2+** - Linguaggio di programmazione

Plugin preinstallati
--------------------

[](#plugin-preinstallati)

- [Spatie Media Library](https://filamentphp.com/plugins/filament-spatie-media-library)
- [Filament Spatie Translatable Plugin](https://github.com/filamentphp/spatie-laravel-translatable-plugin)
- [Exception Viewer](https://github.com/bezhansalleh/filament-exceptions)
- [Activity logger for filament](https://github.com/z3d0x/filament-logger)
- [Shield](https://github.com/bezhanSalleh/filament-shield)
- [Filament Impersonate](https://github.com/stechstudio/filament-impersonate)
- [DB CONFIG](https://github.com/postare/db-config)
- [Mason](https://github.com/awcodes/mason)
- [Matinee](https://github.com/awcodes/Matinee)
- [Filament Tiptap Editor](https://github.com/awcodes/filament-tiptap-editor)
- [Palette](https://github.com/awcodes/palette)

📋 Requisiti di Sistema
----------------------

[](#-requisiti-di-sistema)

- PHP &gt;= 8.2
- Composer
- Node.js &gt;= 18
- NPM &gt;= 9
- MySQL &gt;= 8.0 o PostgreSQL &gt;= 13

Starter Kit
-----------

[](#starter-kit)

```
laravel new --using=inerba/postare-kit-12

php artisan kit:install

```

🛠️ Installazione
----------------

[](#️-installazione)

1. Clona il repository:

```
git clone git@github.com:inerba/postare-kit-12.git
cd postare-kit-12
```

2. Installa le dipendenze PHP:

```
composer install
```

3. Installa le dipendenze NPM:

```
npm install
```

4. Copia il file .env:

```
cp .env.example .env
```

5. Genera la chiave dell'applicazione:

```
php artisan key:generate
```

6. Configura il database nel file `.env`
7. Esegui le migrazioni e i seeder:

```
php artisan migrate --seed
```

8. Aggiungi l'utente creato in fase di seed tra i super user:

```
php artisan shield:super-admin
```

9. Compila gli assets:

```
npm run build:all
```

🚀 Sviluppo
----------

[](#-sviluppo)

Rigenerare i permiessi di Shield:

```
php artisan shield:generate --all --ignore-existing-policies --panel=auth
```

Questo comando avvierà:

- Server Laravel
- Queue worker
- Vite dev server

Simple Menu Manager
===================

[](#simple-menu-manager)

### Included Menu Item Types

[](#included-menu-item-types)

- **Link**: a simple customizable link.
- **Page**: automatically generates a link by selecting a page
- **Placeholder**: a placeholder, perfect for organizing submenus.

### Extensibility

[](#extensibility)

You can quickly and easily create new menu item types using the included dedicated command. This makes it an ideal solution for projects requiring a scalable and customizable menu system.

Command to Create Custom Handlers
---------------------------------

[](#command-to-create-custom-handlers)

Creating new menu item types is quick and easy thanks to the included dedicated command:

```
# Syntax: php artisan make:menu-handler {name} {panel?}

# Example: A menu item for your blog categories
php artisan make:menu-handler BlogCategory
```

Replace `{name}` with the name of your new menu item type. The command will generate a new handler class that you can customize to suit your specific needs. If you’re using multiple panels, include the `{panel}` argument to specify the target panel.

### Generated Handler Class

[](#generated-handler-class)

When you use the custom handler command, this is what the generated menu handler class will look like:

```
namespace App\Filament\SimpleMenu\Handlers;

use Filament\Forms\Components;
use Postare\SimpleMenuManager\Filament\Resources\MenuResource\MenuTypeHandlers\MenuTypeInterface;
use Postare\SimpleMenuManager\Filament\Resources\MenuResource\Traits\CommonFieldsTrait;

class BlogCategoryHandler implements MenuTypeInterface
{
    use CommonFieldsTrait;

    public function getName(): string
    {
        // If necessary, you can modify the name of the menu type
        return "Blog Category";
    }

    /**
     * Menuitem Fields
     *
     * @return array
     */
    public static function getFields(): array
    {
        // Add the necessary fields for your menu type in this array
        return [
            // Components\TextInput::make('url')
            //     ->label('URL')
            //     ->required()
            //     ->columnSpanFull(),

            // Common fields for all menu types
            Components\Section::make(__('simple-menu-manager.common.advanced_settings'))
                ->schema(self::commonLinkFields())
                ->collapsed(),
        ];
    }
}
```

You can add all the fields you need using the familiar and standard FilamentPHP components, giving you full flexibility to tailor your menu items to your project’s requirements.

### Adding the Livewire Component to Your Page

[](#adding-the-livewire-component-to-your-page)

Don’t forget to specify the menu's slug when adding the Livewire component to your page:

```

```

Below is the structure of the Livewire component:

```
 !$menu,
])>

```

As you can see, the implementation is straightforward. Thanks to ``, you have the freedom to create custom menu components tailored to your needs. You can also define different menu variants simply by appending them to the component's name.

#### Component Example

[](#component-example)

Create the following file structure to define your custom menu:

- `index.blade.php` in `resources/views/components/menus/main-menu`

```
@props([
    'name' => null,
    'items' => [],
])

    @foreach ($items as $item)

    @endforeach

```

- `item.blade.php` in `resources/views/components/menus/main-menu`

```
@props([
    'item' => null,
    'active' => false,
])

@php
    $itemClasses = 'leading-none px-3 py-2 mx-3 mt-2 text-gray-700 transition-colors duration-300 transform rounded-md hover:bg-gray-100 lg:mt-0 dark:text-gray-200 dark:hover:bg-gray-700';
@endphp

@if (isset($item['children']))

            {{ $item['label'] }}

        @foreach ($item['children'] as $child)

        @endforeach

@else
    @if (isset($item['url']))
    class([$itemClasses, '' =>active_route($item['url'])]) }}">
        {{ $item['label'] }}

    @else
    class([$itemClasses, '' => $active]) }}>
        {{ $item['label'] }}

    @endif
@endif
```

- `dropdown.blade.php` in `resources/views/components/menus`

```
@props([
    'trigger' => null,
])

        {{ $trigger }}

        @svg('heroicon-m-chevron-down', ['class' => 'size-4', 'x-bind:class' => '{ "rotate-180": open }'])

        {{ $slot }}

```

### Variants Explained

[](#variants-explained)

The Simple Menu Manager supports menu **variants**, allowing you to reuse the same menu structure with different designs or behaviors.

#### How to Use Variants

[](#how-to-use-variants)

Pass the `variant` parameter in the Livewire component:

```

```

This tells the system to look for the corresponding Blade file:

`resources/views/components/menus/{slug}/{variant}.blade.php`

🧪 Testing
---------

[](#-testing)

Il progetto utilizza Pest per i test. Per eseguire i test:

```
./vendor/bin/pest
```

📦 Struttura del Progetto
------------------------

[](#-struttura-del-progetto)

```
postare-kit-12/
├── app/                # Logica dell'applicazione
├── config/            # File di configurazione
├── database/          # Migrazioni e seeder
├── lang/              # File di traduzione
├── resources/         # Assets e viste
├── routes/            # Definizione delle route
├── storage/           # File di storage
└── tests/             # Test dell'applicazione

```

🔧 Strumenti di Sviluppo
-----------------------

[](#-strumenti-di-sviluppo)

- **Laravel Pint** - Formattatore di codice PHP
- **Laravel Debugbar** - Debug toolbar
- **Prettier** - Formattatore di codice JavaScript/CSS
- **Tailwind CSS** - Framework CSS
- **PostCSS** - Processore CSS

📝 Convenzioni di Codice
-----------------------

[](#-convenzioni-di-codice)

- Segui PSR-12 per il codice PHP
- Utilizza Laravel Pint per la formattazione
- Segui le convenzioni di naming di Laravel
- Utilizza type hints e return types

🔒 Sicurezza
-----------

[](#-sicurezza)

- Implementa sempre la validazione dei dati
- Utilizza CSRF protection
- Implementa rate limiting
- Segui le best practices di Laravel per la sicurezza

📚 Documentazione
----------------

[](#-documentazione)

Per ulteriori informazioni, consulta:

- [Documentazione Laravel](https://laravel.com/docs)
- [Documentazione Filament](https://filamentphp.com/docs)
- [Documentazione Tailwind CSS](https://tailwindcss.com/docs)
- [Documentazione Alpine.js](https://alpinejs.dev/docs)

📄 Licenza
---------

[](#-licenza)

Questo progetto è open-source e disponibile sotto la licenza MIT.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance56

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

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

Total

3

Last Release

300d ago

### Community

Maintainers

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

---

Top Contributors

[![inerba](https://avatars.githubusercontent.com/u/5882517?v=4)](https://github.com/inerba "inerba (128 commits)")

---

Tags

laravelfilamentstarter-kittall

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/inerba-postare-kit-12/health.svg)

```
[![Health](https://phpackages.com/badges/inerba-postare-kit-12/health.svg)](https://phpackages.com/packages/inerba-postare-kit-12)
```

###  Alternatives

[raugadh/fila-starter

Laravel Filament Starter.

614.9k](/packages/raugadh-fila-starter)[siubie/kaido-kit

Filament Admin Panel Starter Kit with pre-configured packages and settings

3824.9k](/packages/siubie-kaido-kit)[codewithdennis/larament

Larament is a time-saving starter kit to quickly launch Laravel 13.x projects. It includes FilamentPHP 5.x pre-installed and configured, along with additional tools and features to streamline your development workflow.

3691.5k](/packages/codewithdennis-larament)[ercogx/laravel-filament-starter-kit

This is a Filament v3 Starter Kit for Laravel 12, designed to accelerate the development of Filament-powered applications.

401.5k](/packages/ercogx-laravel-filament-starter-kit)

PHPackages © 2026

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