PHPackages                             spoom-php/core - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. spoom-php/core

ActiveSpoom[Utility &amp; Helpers](/categories/utility)

spoom-php/core
==============

Utility core of the Spoom Packages

v1.0.0-alpha.1(6y ago)045MITPHPPHP ^7.2.0

Since Sep 30Pushed 6y ago2 watchersCompare

[ Source](https://github.com/spoom-php/core)[ Packagist](https://packagist.org/packages/spoom-php/core)[ RSS](/packages/spoom-php-core/feed)WikiDiscussions development Synced 2w ago

READMEChangelogDependencies (4)Versions (2)Used By (0)

[![Build Status](https://camo.githubusercontent.com/ebb011f8265992b7acc291ca32e57d115f30aac621ffef9c6d757b2844dada94/68747470733a2f2f7472617669732d63692e6f72672f73706f6f6d2d7068702f636f72652e7376673f6272616e63683d646576656c6f706d656e74)](https://travis-ci.org/spoom-php/core)

Spoom Packages
==============

[](#spoom-packages)

Spoom is a collection of cooperative packages, which you can use to code your Application of needs.

About the Core
--------------

[](#about-the-core)

This is the core package which provide:

- Extended exception capabilities with string id and context support
- File access interface and local filesystem implementation
- Logger interface with file logger implementation
- Data serialization and deserialization interface (with serialize and json implementation)
- Helpers to solve basic task and some PHP inconsistency
- Event and package (Spoom packages) management
- ...

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

[](#installation)

Install the latest version with

```
$ composer require spoom-php/core
```

Requirements
------------

[](#requirements)

Spoom Core (and most official package) works with PHP 7.2 or above

Usage
-----

[](#usage)

Here is a basic example to initialize the `Core\Environment`:

```
