2. Laravel Activity Log By Team Spatie - Model Events

  Рет қаралды 47,577

Bitfumes

Bitfumes

Күн бұрын

Working on Model Events
Excellent work on #laravel #activitylog #package by Spatie team and Freek ( @freekspatie )
The Spatie Laravel Activitylog package provides easy to use functions to log the activities of the users of your app. It can also automatically log model events. All activity will be stored in the activity_log table.
Laravel Activity Log Useful Links:
Website: spatie.be/
Docs:docs.spatie.be/laravel-activi...
Github: github.com/spatie/laravel-act...
Mysql Error on Migration: github.com/spatie/laravel-act...
======================= Ad Free Tutorials ======================
Check bitfumes.com For ads-free and more advanced courses (use Coupon code WELCOME60 to get 60% discount)
==================FOLLOW ME ==================
Subscribe for New Releases!
Twitter - / bitfumes
Facebook - / bitfumes
Instagram - / bitfumes
(ask me questions!)
-- QUESTIONS? --
Leave a comment below and I or someone else can help you.
For quick questions you may also want to ask me on Twitter, I respond almost immediately.
Email me support@bitfumes.com
Thanks for all your support!

Пікірлер: 34
@ProgrammingwithPeter
@ProgrammingwithPeter 4 жыл бұрын
Keep it up! I love the package presentation series!
@ajimahifeanyi2784
@ajimahifeanyi2784 Жыл бұрын
Nice. Thanks for this amazing video.
@wherami
@wherami 4 жыл бұрын
excellent. thats some great functionality
@SupRec
@SupRec Жыл бұрын
Thanks for the content buddy!
@brobersaudara3770
@brobersaudara3770 3 жыл бұрын
thank sir, good explanation. i like this
@MauroRochat
@MauroRochat 11 ай бұрын
Thanks man, you helped me a lot.
@MarcelloPato
@MarcelloPato 4 жыл бұрын
Very good!
@AbdulazizAlzaabi
@AbdulazizAlzaabi 4 жыл бұрын
Thanks .. what about views? Does have ready views to a show activity logs or you need to build your own views ?
@Viveksharmaa
@Viveksharmaa 3 жыл бұрын
Thanks for amazingly explained video. I am eager to know, what visual studio package you are using for auto suggestions. Like when you write LogsActivity, it suggest you about the LogsActicity resourses and auto import on top. Pls guide, it would be very helpful.
@hishamalalimi356
@hishamalalimi356 4 жыл бұрын
thank's alooooot
@jojiejagonos7317
@jojiejagonos7317 4 жыл бұрын
Hello Sir, Would it be possible to change the column names of the activity_logs table ? thank you
@neerajsinghtangariya2587
@neerajsinghtangariya2587 4 жыл бұрын
Hlw sir, sir could you plz tell us, In laravel is there any theme system like wordpress...?
@hendisantika
@hendisantika 3 жыл бұрын
Hi, What if We want to save email address to the activity log. Is that possible? How We can do that? Thanks
@tirits
@tirits 4 жыл бұрын
great
@Bitfumes
@Bitfumes 4 жыл бұрын
Thanks for your love and support, keep learning. Follow bitfumes on twitter.com/bitfumes or facebook.com/Bitfumes to get the latest updates. bitfumes.com
@didisquare2027
@didisquare2027 Жыл бұрын
To add a relationship with any model, simply add a subject relationship.
@andykoe545
@andykoe545 Жыл бұрын
Hi, i am using activity log as trait and use that trait in all model, the problem is i cant use $logName and pass it to trait, any idea of doing this?
@NveuFX
@NveuFX 2 жыл бұрын
how to get property attribute? because i want to get attribute to show to view
@livetabasco2796
@livetabasco2796 4 жыл бұрын
I am following everything from your video but it does not update properties column it just an empty. What went wrong, can't figure out? Can you please help me? Thanks
@mohamedhaouali4181
@mohamedhaouali4181 3 жыл бұрын
you solved it
@mshamrok
@mshamrok 3 жыл бұрын
Thanks , I have tried it works perfect , but for Arabic it is not showing the right char how do encode the Arabic to be viewed in blade
@celaummm5998
@celaummm5998 4 жыл бұрын
How to restore the backup?
@bru6626
@bru6626 4 жыл бұрын
Will this work on laravel 7??
@AdnanMalik-pk5hq
@AdnanMalik-pk5hq 2 жыл бұрын
how to use this package with mongodb?
@erikandribudiman8713
@erikandribudiman8713 2 жыл бұрын
How to make Causer ID and Type to be filled?
@khanhvu6239
@khanhvu6239 2 жыл бұрын
You try to give the video more brightness it will be great if you do
@Ghummakad_bande
@Ghummakad_bande 9 ай бұрын
How to save current logged user id
@bondburton
@bondburton 3 жыл бұрын
If I want to change to another modal not App/User how can I do?
@brobersaudara3770
@brobersaudara3770 3 жыл бұрын
You can add the Traits "use LogsActivity" to the Model what do you want bro
@Chitorra98duriduridr
@Chitorra98duriduridr Жыл бұрын
For Laravel v9 and ActivityLog v4 Im doing this tutorial without tinker, im using the views Blade... Its almost the same think. Just kind of custom code be cause the ActivityLog package update... use Spatie\Activitylog\Traits\LogsActivity; use Spatie\Activitylog\LogOptions; class YourModel extends Authenticable { use LogsActivity; protected $fillable = [ 'x', 'y', 'z', ]; //This function is important, if you dont add this function it will be fail public function getActivitylogOptions(): LogOptions { return LogOptions::defaults()->logOnly(['*']); } }
@vamshireddy3006
@vamshireddy3006 3 жыл бұрын
how to store changed (created / updated / deleted) attributes in controller (without using tinker).
@chascachunga
@chascachunga 3 жыл бұрын
did you find the solution?
@Chitorra98duriduridr
@Chitorra98duriduridr Жыл бұрын
For Laravel v9 and ActivityLog v4 Im doing this tutorial without tinker, im using the views Blade... Its almost the same think. Just kind of custom code be cause the ActivityLog package update... use Spatie\Activitylog\Traits\LogsActivity; use Spatie\Activitylog\LogOptions; class YourModel extends Authenticable { use LogsActivity; protected $fillable = [ 'x', 'y', 'z', ]; //This function is important, if you dont add this function it will be fail public function getActivitylogOptions(): LogOptions { return LogOptions::defaults()->logOnly(['*']); } }
@Chitorra98duriduridr
@Chitorra98duriduridr Жыл бұрын
@@chascachunga For Laravel v9 and ActivityLog v4 Im doing this tutorial without tinker, im using the views Blade... Its almost the same think. Just kind of custom code be cause the ActivityLog package update... use Spatie\Activitylog\Traits\LogsActivity; use Spatie\Activitylog\LogOptions; class YourModel extends Authenticable { use LogsActivity; protected $fillable = [ 'x', 'y', 'z', ]; //This function is important, if you dont add this function it will be fail public function getActivitylogOptions(): LogOptions { return LogOptions::defaults()->logOnly(['*']); } }
3. Laravel Activity Log By Team Spatie - Customisation
10:27
Bitfumes
Рет қаралды 20 М.
1 Laravel Activity Log By Team Spatie - Intro and Setup
10:42
Вечный ДВИГАТЕЛЬ!⚙️ #shorts
00:27
Гараж 54
Рет қаралды 14 МЛН
когда повзрослела // EVA mash
00:40
EVA mash
Рет қаралды 4,3 МЛН
HOW DID HE WIN? 😱
00:33
Topper Guild
Рет қаралды 40 МЛН
Laravel Translations: Store in PHP or JSON Files?
7:34
Laravel Daily
Рет қаралды 19 М.
Spatie Laravel Permission Package Tutorial | Introduction #1
14:23
Jake Bennett "State Machines" - Laracon US 2023 Nashville
28:12
[Live-coding] Laravel Livewire: Parent-Child Form Example
17:08
Laravel Daily
Рет қаралды 88 М.
Laravel Model Method: Refactor into Service Class
9:05
Laravel Daily
Рет қаралды 20 М.
Laravel Auditing Package: Track all Your Model Changes
6:10
Laravel Daily
Рет қаралды 22 М.
Вечный ДВИГАТЕЛЬ!⚙️ #shorts
00:27
Гараж 54
Рет қаралды 14 МЛН