Achievements for Laravel 5.3+
Beta 1 includes the following features:
Version 1.1 will target Laravel 5.6 and is scheduled to include the following features:
Version 1.1 will contain automatic service provider detection. Thanks to everyone that pointed out this absent feature.
Version 1.1 will include documentation using Github Pages and will add more detailed explanation on how to use laravel-achievements both on backend and on frontend.
Version 1.1 will ship with blade templates to be used as a boilerplate for developers to use on their projects. The templates included with the projects will be:
Version 1.1 will ship with Achievement Chains. As described on #30, it will allow developers to join within a single class multiple Achievements that track the same functionality. Thanks to @kgenly for suggestions on additional functionalities for this feature.
Version 1.1 will ship with Customized Table Names. As described on #33, it allows users to customize the table names that will store achievement related data. Thanks to @vgsh for requesting.
Stable release.
achievement_progress
with 0 points for all Achievements the user still didn't progressed into.
achievements()
relationship, which previously only returned data for Achievements where the Achiever actually unlocked or made progress to.achievements()
relationship and returns locked achievements via a DB query.
achievements()
relationship not return locked achievement data.whenUnlocked
and whenProgressed
on the Achievement
classes are now documented and can also be added in order to trigger events specific to these Achievements.addProgressToAchiever()
now has a default value of 1 point. Previous behavior is unaltered.First release candidate.