Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 667 Bytes

README.md

File metadata and controls

36 lines (29 loc) · 667 Bytes

Losquery

About

Losquery is a PHP wrapper around Facebook's Osquery. With this package you can communicate with osqueryi(query console/shell).

Installation

Composer

    composer require wrcx/losquery:dev-master

Usage

Building the query

    $query = new \Wrcx\Losquery\Losquery();
    $query = $query->select('*')
            ->from("users")
            ->get();

Running the query

    $runner = new \Wrcx\Losquery\Losrunner();
    // json or csv
    echo $runner->run($query, 'json');

Notice

Package is still under development.

TODO

  • Tests
  • Installation information

License