wrcx/losquery

PHP wrapper for Osquery

Maintainers

Details

github.com/wrcx/losquery

Source

Issues

Installs: 47

Dependents: 0

Suggesters: 0

Security: 0

Stars: 5

Watchers: 1

Forks: 1

pkg:composer/wrcx/losquery

0.0.1 2016-06-01 18:12 UTC

This package is not auto-updated.

Last update: 2025-10-06 18:37:33 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