laravel-eloquent-flag icon indicating copy to clipboard operation
laravel-eloquent-flag copied to clipboard

Laravel Eloquent boolean & timestamp flagged attributes behavior.

Results 8 laravel-eloquent-flag issues
Sort by recently updated
recently updated
newest added

In SoftDeletes trait getQualifiedDeletedAtColumn() method is used to avoid errors in queries when join is used. Sample: `public function apply(Builder $builder, Model $model) { $builder->whereNull($model->getQualifiedDeletedAtColumn()); }` It is necessary to...

enhancement

PR #37 introduced new feature which should be highlighted in README.

enhancement

New feature was implemented in #37 but not covered with tests. Need to add tests to make a stable release.

enhancement

- [x] `is_expired` (inverse) https://github.com/cybercog/laravel-eloquent-flag/pull/8 - [x] `is_closed` (inverse) https://github.com/cybercog/laravel-eloquent-flag/pull/9 - [x] `published_at` (classic) https://github.com/cybercog/laravel-eloquent-flag/pull/17 - [x] `accepted_at` (classic) https://github.com/cybercog/laravel-eloquent-flag/pull/18 - [x] `verified_at` (classic) https://github.com/cybercog/laravel-eloquent-flag/pull/19 - [x] `closed_at` (inverse) -...

This could be useful for example when you want an article to be automatically shown in future date. Right now if future `published_at` will be setted - this record will...

bug
enhancement

**It's just a concept. Not yet decided if it will be included in future.** Add nullable flags state which will means that none of the actions were performed. To proof...

Amount of traits is grow and hard and README file starts to be too big. Each flag description should be extracted to wiki.

help wanted