Search by

panelume / starter

kefyusuf

Panelume starter application — Laravel admin panel framework.

Package info

github.com/kefyusuf/panelume-starter

Type:project

pkg:composer/panelume/starter

Statistics

Installs: 2

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v2.0.0 2026-12-02 10:19 UTC

This package is auto-updated.

Last update: 2026-12-02 10:35:42 UTC


README

A Laravel 12 starter with Panelume installation hooks. The local distribution smoke checks the Composer bootstrap, guest login page and frontend build. Public registry installation is tracked separately.

Once the starter and its core/UI dependencies are available in their public registries:

composer create-project panelume/starter my-panel
cd my-panel
npm install && npm run build
php artisan serve --no-reload

Visit http://localhost:8000/admin/login. Installation creates no user account. Create users through trusted application provisioning and configure panel admission before verifying authenticated workflows.

For a disposable local development database only, the existing php artisan db:seed example creates admin@example.com with password password. Do not use those credentials in a deployed application. This seed is not run by Composer and does not grant panel access.

Administrator admission

The panel configuration defaults admin_user_ids to an empty list. Add the positive integer ID of an existing, trusted administrator to this list; use the actual database ID, not an email, domain or user-submitted field. Refresh the application's configuration cache and reload its workers after changing deployment configuration. String IDs and malformed lists do not grant access.

The host accessFastPanel gate permits only the admin panel. AdminResourcePolicy explicitly authorizes that same administrator for Users, Posts and Orders; executeFastPanelActions authorizes custom actions. No public operations are enabled. This is a coarse example administrator policy. Replace it with application-specific model policies when restricted operator roles are needed; no RBAC or tenancy setup is implied.

New user passwords require at least eight characters. Omitting or leaving a password blank during an update preserves its hash. RedactedActivityLogger removes model-hidden attributes from creation data and update original/changes before audit persistence, including user passwords and remember tokens. Hosts must define any additional sensitive fields; this adapter does not scrub arbitrary nested payloads or repair existing audit rows.

What's included

Piece Why it matters
Posts Classic CRUD + status filter/actions
Orders State machine (draft → paid → shipped), confirmation actions, lockAfter amount
SQLite Zero configuration
Vite + Tailwind UI assets
Auth scaffolding Session login

Orders as the reference workflow

Orders is registered alongside Users and Posts.

OrderResource defines the state flow, including these transitions:

public function transitions(): array
{
    return [
        'status' => [
            'initial' => 'draft',
            'transitions' => [
                ['from' => 'draft', 'to' => 'paid', 'action' => 'mark-as-paid'],
                ['from' => 'paid', 'to' => 'shipped', 'action' => 'ship'],
            ],
            'lockAfter' => [
                'paid' => ['amount'], // amount locked after payment
            ],
        ],
    ];
}

Try it:

  1. Open Orders → create a draft.
  2. Click Mark as paid (confirm dialog).
  3. amount becomes read-only.
  4. Inspect REST: GET /admin/api/orders and GET /admin/schema/orders/table.

Headless integration

This starter qualifies an authenticated web/session panel. A headless consumer requires its own panel/channel guards and authorization configuration; the installer flag alone does not establish that integration.

Included examples

Requirements

  • PHP 8.3+
  • Composer 2.x
  • Node.js 20.19+ in the 20.x line, or 22.12+

See LICENSE.