jahondust / model-log Goto Github PK
View Code? Open in Web Editor NEWVoyager Model Log
Voyager Model Log
php artisan hook:install model-log
require.model-log is invalid, it should have a vendor name, a forward slash, and a package name. The vendor and package name can be words separated by -, . or _. The complete name should match "^[a-z0-9]([_.-]?[a-z0-9]+)*/[a-z0-9]
(([_.]?|-{0,2})[a-z0-9]+)*$".
Hi,
I've got a relationship belongsToMany through a pivot table (user, role role_user) type tables and the interface works fine - I just cannot get it to log. Even if I create a custom Model for it with the log use statement it never logs. Any ideas?
Thanks
Ian
Hello, sorry if this is obvious I'm new to laravel and voyager.
I'm trying to use model-log to log (eh !) but I'm facing issue when using a custom controller with a save action on the model.
Ie :
Changing the model with Voyager bread -> works as expected
Changing the model with myCustomController() [..] $myModel->save() doesn't update model-log table.
I've tryed to dispatch events event(new BreadDataUpdated($dataType, $myModel)) but without success.
Could you point me to the right direction ?
Thanks.
I used ModelLogging inside User, when I did register and login, it showed this error notification.
use Jahondust\ModelLog\Traits\ModelLogging;
class Student extends Model
{
use ModelLogging;
}
Greetings and thanks for sending in a hook for Larapack.io.
Your hook has been approved, however I recommend that you tag a version in the Github repository, such as v1.0.0
.
Feel free to email me at [email protected] for any questions or issues.
Thank you,
Mark
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.