Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wendelladriel/laravel-model-completed
Laravel helper to know the completion status of an Eloquent Model
https://github.com/wendelladriel/laravel-model-completed
eloquent eloquent-models laravel model model-status
Last synced: 2 months ago
JSON representation
Laravel helper to know the completion status of an Eloquent Model
- Host: GitHub
- URL: https://github.com/wendelladriel/laravel-model-completed
- Owner: WendellAdriel
- License: mit
- Created: 2022-12-26T14:32:32.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-27T12:40:38.000Z (about 2 years ago)
- Last Synced: 2024-10-13T04:07:36.501Z (3 months ago)
- Topics: eloquent, eloquent-models, laravel, model, model-status
- Language: PHP
- Homepage:
- Size: 8.79 KB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Laravel Model Completed
> Laravel helper to know the completion status of an Eloquent Model
## Installation
```
composer require wendelladriel/laravel-model-completed
```## Usage
This package provides a trait: `\WendellAdriel\ModelCompleted\HasCompletionStatus` that you can use in your **Eloquent Models**.
You also need to provide a `protected array $required` property with a list of required properties to consider your
**Model** completed:```php