Skip to content

Just played with Lavarel 5 and modular set up, added also a new facade/helper/serviceProvider to log errors and messaged into db. Pretty easy I must say...

License

Notifications You must be signed in to change notification settings

blumanski/lavarel-modular-setup-plus-db-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

lavarel-modular-setup-plus-db-logger

Just played with Lavarel 5 and modular set up, added also a new facade/helper/serviceProvider to log errors and messaged into db. Pretty easy I must say...

Relevant files are under Modules/

##The db logger is under## The db logger allows to add error messages (silently), from anywhere in the application, to the database. Messages are like

$type, $message, $location, $logtime

app/Helpers/AppModel.php

app/Providers/AppModelServiceProvider.php

app/Facades/AppModel.php

###It shows also how to use the databse in raw pdo mode### I don't like query building and rather have full controll, even the bindValues, I rather not cut corners and use the right types.

Anyway...

About

Just played with Lavarel 5 and modular set up, added also a new facade/helper/serviceProvider to log errors and messaged into db. Pretty easy I must say...

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published