Looking to hire Laravel developers? Try LaraJobs

core maintained by laravel-persona

Description
Persona - a headless data layer for person-related data using polymorphic relations.
Last update
2026/09/16 15:47 (dev-main)
License
Links
Downloads
7

Comments
comments powered by Disqus

Laravel Persona: Core

This is the core data layer for the Laravel Persona ecosystem.

Laravel Persona is a powerful, headless, and polymorphic data layer for managing person-related data — profiles, contacts, addresses, documents, social accounts, physical attributes, legal details, and relationships — in Laravel applications.

What is this package?

This package provides everything Persona needs at the data layer: Eloquent models with encrypted/hashed casts, polymorphic morph relations, config-driven managers, verification OTPs, pruneable soft-deletes, and a single fluent entry point (Persona::for($model)). It is the foundation that all presentation-layer companions (API, Livewire, Inertia, Blade) build on.

Installation

composer require laravel-persona/core

Then run the interactive installer:

php artisan persona:install

This will publish the config, migrations, and stubs, and prompt you to set up your PERSONA_HASH_KEY.

Full Documentation

Please refer to the Main Repository for complete installation instructions, API usage, configuration details, and architecture documentation.


Note: This repository is a read-only split of the main monorepo. Please submit all issues and pull requests to the main repository.