Skip to content

gammamatrix/playground-lead

Repository files navigation

Playground Lead

Playground CI Workflow Test Coverage PHPStan Level 9

The Playground Lead is a package for Laravel applications.

This application provides the models to use the Playground Lead, a Campaign Sales Management tool.

Read more on using Playground Lead at Read the Docs: Playground Documentation.

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.

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 4 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"

PHPStan

Tests at level 9 on:

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

Coding Standards

composer format

Testing

composer test

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages