Comments (4)
Did you add the LogsActivity
trait to your model?
https://docs.spatie.be/laravel-activitylog/v1/advanced-usage/logging-model-events
from laravel-activitylog.
yes i do [ using laravel 5.2 and php 7 ]
from laravel-activitylog.
just noted i have to add this line _
protected static $logAttributes = ['name', 'text'];
_ in the model
cant it be added automatically
from laravel-activitylog.
No, we want this to work explicit.
from laravel-activitylog.
Related Issues (20)
- Laravel-activitylog not installing HOT 5
- Documentation for V3 and V4 missing from Spatie website HOT 1
- Not saving Auth user information when I use with model operations. HOT 2
- Bulk Update Logging Not working HOT 1
- Properties empty []
- Properties empty [] HOT 1
- updateOrCreate() does not log anything HOT 1
- Log many to many doesn't work HOT 1
- Log Activity not working from inside Model boot method HOT 1
- Laravel 11 didnt register activity HOT 3
- Version 4.8.0 Call to undefined method App\Models\User::getStorableEnumValue() HOT 4
- Migration wasn't created HOT 2
- LogsActivity::$changesPipes should be cleared HOT 7
- Updated attribute not being flagged as dirty
- Broken Link
- Call to undefined method getStorableEnumValue()
- Gett subject relation null HOT 2
- after install the package, unable to use the feature at volt component HOT 2
- "tapActivity" method called twice during the model event logging
- "tapActivity" method called twice during the model event logging
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-activitylog.