tipoff/statuses

Laravel Package for opinionated statuses style

Fund package maintenance!
tipoff

Installs: 12 386

Dependents: 4

Suggesters: 0

Security: 0

Stars: 0

Watchers: 4

Forks: 1

2.2.1 2021-05-12 01:46 UTC

This package is auto-updated.

Last update: 2024-11-19 03:11:45 UTC


README

Latest Version on Packagist Tests Total Downloads

This is where your description should go.

Installation

You can install the package via composer:

composer require tipoff/statuses

You can publish and run the migrations with:

php artisan vendor:publish --provider="Tipoff\Statuses\StatusesServiceProvider" --tag="migrations"
php artisan migrate

You can publish the config file with:

php artisan vendor:publish --provider="Tipoff\Statuses\StatusesServiceProvider" --tag="config"

This is the contents of the published config file:

return [
];

Models

We include the following model:

List of Models

  • Status
  • Status Record

For each of these models, this package implements an authorization policy that extends the roles and permissions approach of the tipoff/authorization package. The policies for each model in this package are registered through the package and do not need to be registered manually.

The models also have Laravel Nova resources in this package and they are also registered through the package and do not need to be registered manually.

Testing

composer test

Changelog

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

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

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