Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/soyhuce/laravel-database-object

Map json columns to PHP Object in Laravel
https://github.com/soyhuce/laravel-database-object

Last synced: 2 months ago
JSON representation

Map json columns to PHP Object in Laravel

Awesome Lists containing this project

README

        

# Map json columns to PHP Object in Laravel

[![Latest Version on Packagist](https://img.shields.io/packagist/v/soyhuce/laravel-database-object.svg?style=flat-square)](https://packagist.org/packages/soyhuce/laravel-database-object)
[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/soyhuce/laravel-database-object/run-tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/soyhuce/laravel-database-object/actions?query=workflow%3Arun-tests+branch%3Amain)
[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/soyhuce/laravel-database-object/fix-php-code-style-issues.yml?branch=main&label=code%20style&style=flat-square)](https://github.com/soyhuce/laravel-database-object/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain)
[![GitHub PHPStan Action Status](https://img.shields.io/github/actions/workflow/status/soyhuce/laravel-database-object/phpstan.yml?branch=main&label=phpstan)](https://github.com/soyhuce/laravel-database-object/actions?query=workflow%3APHPStan+branch%3Amain)
[![Total Downloads](https://img.shields.io/packagist/dt/soyhuce/laravel-database-object.svg?style=flat-square)](https://packagist.org/packages/soyhuce/laravel-database-object)

Easily map json columns to PHP Object in Laravel. Faster than spatie/laravel-data.

## Installation

You can install the package via composer:

```bash
composer require soyhuce/laravel-database-object
```

## Usage

// TBD

## Testing

```bash
composer test
```

## Changelog

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

## Contributing

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

## Security Vulnerabilities

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

## Credits

- [Bastien Philippe](https://github.com/bastien-phi)
- [All Contributors](../../contributors)

## License

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