PHPackages                             sukohi/springbok - 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. sukohi/springbok

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

sukohi/springbok
================

A PHP package mainly developed for Laravel to manage specific accessors and mutators for Json and Date(Carbon).

2.0.0(10y ago)017MITPHP

Since Sep 12Pushed 10y ago1 watchersCompare

[ Source](https://github.com/SUKOHI/Springbok)[ Packagist](https://packagist.org/packages/sukohi/springbok)[ RSS](/packages/sukohi-springbok/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

Springbok
=========

[](#springbok)

A PHP package mainly developed for Laravel to manage specific accessors and mutators for Json and Date(Carbon).
(This is for Laravel 5+. [For Laravel 4.2](https://github.com/SUKOHI/Springbok/tree/1.0))
(So you can skip to add accessors and mutators for date and json.)

Installation
============

[](#installation)

Add this package name in composer.json

```
"require": {
  "sukohi/springbok": "2.*"
}

```

Execute composer command.

```
composer update

```

Usage
=====

[](#usage)

**Simple Way**

In your model, set Springbok instead of Eloquent and add a member variable named "convert\_attributes". (Springbok extends Eloquent.)

```
