Stop Manually Setting Audit Fields in Yii 2 Controllers
Use Yii 2 TimestampBehavior and BlameableBehavior to populate created_at, updated_at, created_by, and updated_by automatically on ActiveRecord save.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Use Yii 2 TimestampBehavior and BlameableBehavior to populate created_at, updated_at, created_by, and updated_by automatically on ActiveRecord save.