gammamatrix/playground-lead

Playground: Provides the models for the Playground Campaign and Lead Sales Management tool.

Maintainers

Package info

github.com/gammamatrix/playground-lead

pkg:composer/gammamatrix/playground-lead

Transparency log

Statistics

Installs: 36

Dependents: 2

Suggesters: 0

Stars: 0

Open Issues: 0

dev-develop / 75.x-dev 2026-08-02 21:35 UTC

This package is auto-updated.

Last update: 2026-08-02 21:37:32 UTC


README

Playground CI Workflow Test Coverage PHPStan Level 10

The Playground Lead is a package for Laravel applications.

Playground: Provides the models for the Playground Campaign and Lead Sales Management tool.

Read more on using Playground: Lead at Read the Docs

Installation

NOTE: This package is required by:

Install this package, with composer, to get access to the Lead Models:

composer require gammamatrix/playground-lead

artisan:about

Playground Lead provides information in the artisan about command.

screenshot of artisan about command with Playground: Lead.

Configuration

Migrations are disabled by default. This package may sometimes be installed where another system handles the migrations.

See the contents of the published config file: config/playground-lead.php

You can publish the config file with:

php artisan vendor:publish --provider="Playground\Lead\ServiceProvider" --tag="playground-config"

Environment Variables

env() config() Default
PLAYGROUND_LEAD_ABOUT playground-lead.about true
PLAYGROUND_LEAD_LOAD_MIGRATIONS playground-lead.load.migrations false
  • The loading option for migrations does not take effect if the migrations have been exported to your app. The control for loading is handled in the package ServiceProvider.

Models

This package includes factories, models and migrations for:

Migrations

All migrations are disabled by default.

See the contents of the published config file: database/migrations

  • NOTE: There are 11 tables that will be created, they do have indexes and unique constraints defined; however, this release does not have the foreign key constraint migrations included at this time.

You can publish the migrations file with:

php artisan vendor:publish --provider="Playground\Lead\ServiceProvider" --tag="playground-migrations"

Cloc

composer cloc
➜  playground-lead git:(develop) ✗ composer cloc  
     147 text files.
     142 unique files.
      42 files ignored.

github.com/AlDanial/cloc v 2.08  T=0.10 s (1433.4 files/s, 557953.8 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
JSON                            64              0              0          42294
PHP                             63            851           2629           8205
XML                             10              0              7            818
YAML                             1              5              0            275
Markdown                         3             46              0            127
INI                              1              3              0             12
-------------------------------------------------------------------------------
SUM:                           142            905           2636          51731
-------------------------------------------------------------------------------

PHPStan

Tests at level 10 on:

  • config/
  • database/
  • src/
  • tests/Feature/
  • tests/Unit/
composer analyse

Coding Standards

composer format

Testing

Unit tests

composer test

Unit and feature tests

composer test-dev

Run unit and feature tests in parallel:

composer test-parallel

Changelog

Please see CHANGELOG for more information on what has changed recently.

Credits

License

The MIT License (MIT). Please see License File for more information.