PHPackages                             skylerkatz/rackspace-log-parser - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. skylerkatz/rackspace-log-parser

ActiveLibrary

skylerkatz/rackspace-log-parser
===============================

Parse Rackspace Cloud Files Access Logs in an object oriented way

2.1.0(5y ago)07MITPHPPHP &gt;=7.2

Since Nov 3Pushed 5y agoCompare

[ Source](https://github.com/skylerkatz/rackspace-log-parser)[ Packagist](https://packagist.org/packages/skylerkatz/rackspace-log-parser)[ Docs](https://github.com/skylerkatz/rackspace-log-parser)[ RSS](/packages/skylerkatz-rackspace-log-parser/feed)WikiDiscussions master Synced today

READMEChangelog (6)Dependencies (3)Versions (7)Used By (0)

Parse Log Files From Rackspace Cloud Files
==========================================

[](#parse-log-files-from-rackspace-cloud-files)

[![Latest Version on Packagist](https://camo.githubusercontent.com/08b8463bb30e344c273ba76776494e02b6681688ccf5d25f3a4871907f0d2f90/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736b796c65726b61747a2f7261636b73706163652d6c6f672d7061727365722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/skylerkatz/rackspace-log-parser)[![Build Status](https://camo.githubusercontent.com/e7d74aca97d604c9bcee01a0d735252b78ba495652e3877ade9ea1d390e619c6/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f736b796c65726b61747a2f7261636b73706163652d6c6f672d7061727365722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/skylerkatz/rackspace-log-parser)[![Quality Score](https://camo.githubusercontent.com/e013a7cb73895d59efa1f09a041ca8a42effafe9703565a0d9d96f652be6b332/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f736b796c65726b61747a2f7261636b73706163652d6c6f672d7061727365722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/skylerkatz/rackspace-log-parser)[![Total Downloads](https://camo.githubusercontent.com/fe8993eed998043744ad0518a202437dd19e5a7e0173b51ee2523f0fd4180972/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736b796c65726b61747a2f7261636b73706163652d6c6f672d7061727365722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/skylerkatz/rackspace-log-parser)

Rackspace Cloud Files provides access logs for all items uploaded to your account. Since log files can be confusing to work with, this package will parse a log file and generate an array of easy to use objects, each representing a row in the log.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require skylerkatz/rackspace-log-parser
```

Usage
-----

[](#usage)

```
$parser = new SkylerKatz\RackspaceLogParser('path-to-the-log.log');
$items $parser->parse();

var_dump($items[0]);

object(SkylerKatz\RackspaceLogParser\LogItem)#1 (10) {
  ["raw"]=>
  string(444) "173.203.44.122 - - [15/07/2014:20:52:25 +0000] "GET /5142b6e5e57f760d7ff4-c591437fc634f2a98934b7738b8b8571.r93.cf1.rackcdn.com/image1.png HTTP/1.1" 304 277 "http://www.rackspace.com/" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0. 50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3; .NET4.0C; .NET4.0E; MS-RTC LM 8; Microsoft Outlook 14.0. 7109; ms-office; MSOffice 14)""
  ["clientIp"]=>
  string(14) "173.203.44.122"
  ["accessDate"]=>
  object(Carbon\Carbon)#22 (3) {
    ["date"]=>
    string(26) "2014-07-15 20:52:25.000000"
    ["timezone_type"]=>
    int(3)
    ["timezone"]=>
    string(3) "UTC"
  }
  ["method"]=>
  string(3) "GET"
  ["request"]=>
  string(85) "/5142b6e5e57f760d7ff4-c591437fc634f2a98934b7738b8b8571.r93.cf1.rackcdn.com/image1.png"
  ["httpVersion"]=>
  string(8) "HTTP/1.1"
  ["returnCode"]=>
  int(304)
  ["bytesSent"]=>
  int(277)
  ["referrer"]=>
  string(25) "http://www.rackspace.com/"
  ["userAgent"]=>
  string(259) "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0. 50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3; .NET4.0C; .NET4.0E; MS-RTC LM 8; Microsoft Outlook 14.0. 7109; ms-office; MSOffice 14)""
}
```

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Skyler Katz](https://github.com/skylerkatz)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

25

—

LowBetter than 40% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~145 days

Recently: every ~182 days

Total

6

Last Release

1967d ago

Major Versions

0.0.1 → 1.0.02018-11-03

1.1.0 → 2.0.02019-10-14

PHP version history (2 changes)0.0.1PHP &gt;=5.6

2.0.0PHP &gt;=7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/090c5b1fd0cb6c65565e01c7fdeea26f8d5aea018117a668caaa8011880b3d04?d=identicon)[skylerkatz](/maintainers/skylerkatz)

---

Top Contributors

[![skylerkatz](https://avatars.githubusercontent.com/u/7297992?v=4)](https://github.com/skylerkatz "skylerkatz (25 commits)")

---

Tags

hacktoberfestskylerkatzrackspace-log-parser

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/skylerkatz-rackspace-log-parser/health.svg)

```
[![Health](https://phpackages.com/badges/skylerkatz-rackspace-log-parser/health.svg)](https://phpackages.com/packages/skylerkatz-rackspace-log-parser)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
