arall/losquery

PHP wrapper for Osquery

0.0.1 2016-06-01 18:12 UTC

This package is not auto-updated.

Last update: 2024-03-22 18:25:53 UTC


README

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