Level 88
You can create a session by doing this
Session::set('crud_count', Session::get('crud_count', 0) + 1);
Now for doing on each crud action take a look at model events: http://laravel.com/docs/5.0/eloquent#model-events
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello, i'm a new user and i have little problem.I have a task where i must count CRUD operations using session and later display information like sessions_id and CRUD results. Someone can tell me how do this ?
Please or to participate in this conversation.