GithubHelp home page GithubHelp logo

jackiedo / laravel-log-reader Goto Github PK

View Code? Open in Web Editor NEW
149.0 6.0 23.0 120 KB

A log reader and management tool for Laravel

License: MIT License

PHP 100.00%
log-reader log-viewer laravel log log-parser reader viewer

laravel-log-reader's Issues

Static method and $this

Hi!

In the documentation you mention that methods can be called statically like this:
$entries = LogReader::filename($file)->get();

But I get this exception for every method, even count() too:
Non-static method Jackiedo\LogReader\LogReader::filename() should not be called statically, assuming $this from incompatible context

I can't use dependency injection, because I use a dynamic routing that not allows it.
What should I do?

Thanks!
Tim

Please, don't use GLOB_BRACE

Please, refactor the LogReader class and remove the GLOB_BRACE usage due to inability of using the package on Alpine containers. Thanks!

Laravel 6 support

Currently can't install Laravel 6. Can you please look into it and add support for it?

Problem 1
- jackiedo/log-reader 1.0.9 requires illuminate/console 4.2 -> no matching package found.
- Conclusion: don't install laravel/framework v6.9.0

LogReader error

PHP Version: 8.1
Laravel: 8

[2022-01-15 23:48:57] testing.WARNING: class_exists(): Passing null to parameter #1 ($class) of type string is deprecated in /home/simo/code/vendor/jackiedo/log-reader/src/Jackiedo/LogReader/LogReader.php on line 133

Referencing this line:

if (class_exists($defaultParserClass)) {

Carbon 2 compatibility

Any chance to get the ~1.2 restriction on Carbon 1 bumped up to support Carbon 2? Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.