Core utilities for Atlas PHP Laravel packages.

Installs: 151

Dependents: 4

Suggesters: 0

Security: 0

Stars: 1

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/atlas-php/core

v0.3.1 2025-11-22 15:03 UTC

This package is auto-updated.

Last update: 2025-11-22 15:04:30 UTC


README

Build coverage License

Atlas Core provides the shared foundation for all Atlas PHP packages — testing harnesses, configuration helpers, and publishing conventions. It standardizes behaviors so each package can stay small, predictable, and focused on its domain.

Table of Contents

Overview

Atlas Core centralizes package infrastructure: consistent testing, configurable models, publish pipelines, and provider conventions. Every Atlas package builds on this shared layer.

Installation

composer require atlas-php/core

Key Components

Testing Harness

PackageTestCase standardizes Testbench usage, migration setup, sqlite defaults, and artisan helpers.

Configurable Models

AtlasModel + TableResolver allow all packages to override tables and connections via config.

Model Services

Atlas\Core\Services\ModelService offers shared CRUD helpers for Eloquent-backed services while allowing packages to extend/override query behavior. See Shared Model Service.

Publishing & Providers

PackageServiceProvider and TagBuilder give every package consistent config/migration publishing and install reminders.

Quality Assurance

Command Purpose
composer lint Format code with Laravel Pint.
composer analyse Run Larastan static analysis.
composer test Execute PHPUnit test suite.

Also See

Contributing

See the Contributing Guide.

License

MIT — see LICENSE.