laravel-achievements icon indicating copy to clipboard operation
laravel-achievements copied to clipboard

Laravel 6+ User Achievements system.

Results 8 laravel-achievements issues
Sort by recently updated
recently updated
newest added

## Issue in migarion that produces the following error - `Illuminate\Database\QueryException : SQLSTATE[HY000]: General error: 3780 Referencing column 'achievement_id' and referenced column 'id' in foreign key constraint 'achievement_progress_achievement_id_foreign' are incompatible....

Hello, I've just found out your package and it seems really cool ! I'm glad it was just updated to Laravel 9. I installed the package and I have two...

In a MySQL database, the `id` field type in the `achievement_details` table is `UNSIGNED BIG INT` because the `$table->id();` command generates an unsigned big int field. ~~~php // This generates...

``` class UserMadeComment extends Achievement { /* * The achievement name */ public $name = trans('achievements.made-first-comment-name'); /* * A small description for the achievement */ public $description = trans('achievements.made-first-comment-description'); }...

bug
enhancement

Hello, I suggest adding a documentation block about available relations. It took me a while to find them so having such information at the start will save some time and...

documentation

Hello! How about making name and description translatable fields? This is just suggestion for enhancement. Thank you!

enhancement

I need locked achievement if set progress is less to need to unlock achievements. example: public function destroy(Review $review) { $review->delete(); $user = auth()->user(); $user->setProgress(new TrackReviewsAchievement(), $user->reviews()->count()); } It`s my...

## Summary This package is using a UUID for the primary key on the `AchievementProgress` model but the `keyType` is not getting properly set to `string` on the model. This...

good first issue