The Wayback Machine - https://web.archive.org/web/20210511024754/https://github.com/topics/log
Skip to content
#

log

Here are 2,295 public repositories matching this topic...

Liberating Web Analytics. Star us on Github? +1. Matomo is the leading open alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. We love Pull Requests!

  • Updated May 11, 2021
  • PHP
laravel-activitylog
bluec
bluec commented Nov 7, 2018

We are logging activity of several models, some using SoftDeletes trait and others not.

When we set config option 'subject_returns_soft_deleted_models' => true then calling subject() on any model not using SoftDeletes trait throws an exception: Call to undefined method Illuminate\Database\Eloquent\Builder::withTrashed().

Can the subject() method below be made to check first whether t

ImportTaste
ImportTaste commented Jan 21, 2021

Occasionally, a file will be downloaded that doesn't have an extension. I'd like it if the header could be checked so the proper extension can be given to it before saving.

There's probably a C# library that can do it, but if you'd like to check for it with your own custom code, here are the headers:

Headers for jpg files:
https://file-extension.net/seeker/file_extension_jpeg
https://file-

Improve this page

Add a description, image, and links to the log topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the log topic, visit your repo's landing page and select "manage topics."

Learn more