Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/soyhuce/laravel-database-object
- Owner: Soyhuce
- License: mit
- Created: 2023-12-14T12:38:21.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-08T03:18:58.000Z (7 months ago)
- Last Synced: 2024-11-24T20:50:09.769Z (2 months ago)
- Language: PHP
- Size: 47.9 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE.md
- Security: .github/SECURITY.md
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.