PHPackages                             behzadsp/eloquent-dynamic-photos - 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. [Database &amp; ORM](/categories/database)
4. /
5. behzadsp/eloquent-dynamic-photos

ActiveLibrary[Database &amp; ORM](/categories/database)

behzadsp/eloquent-dynamic-photos
================================

A Laravel Eloquent trait for dynamically handling and managing photo storage with ease.

v1.4.2(1y ago)22511MITPHPPHP &gt;=7.4

Since Jul 14Pushed 1y ago3 watchersCompare

[ Source](https://github.com/behzadsp/eloquent-dynamic-photos)[ Packagist](https://packagist.org/packages/behzadsp/eloquent-dynamic-photos)[ Docs](https://github.com/behzadsp/eloquent-dynamic-photos)[ RSS](/packages/behzadsp-eloquent-dynamic-photos/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (12)Used By (0)

Laravel Eloquent Photos
=======================

[](#laravel-eloquent-photos)

[![Latest Version on Packagist](https://camo.githubusercontent.com/842ac0aa9ebd9810c1e6e34cf7cba8ca0117ce33a5687fbd94f534a2e8027778/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6265687a616473702f656c6f7175656e742d64796e616d69632d70686f746f732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/behzadsp/eloquent-dynamic-photos)[![Total Downloads](https://camo.githubusercontent.com/317f6f1344c71a0ad5139e8f111733f4f3ad9e053296a55200b8a0604945780e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6265687a616473702f656c6f7175656e742d64796e616d69632d70686f746f732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/behzadsp/eloquent-dynamic-photos)

This is a Laravel Eloquent trait that provides an easy and dynamic way to manage photos in your Eloquent models.

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

[](#installation)

You can install the package via composer:

```
  composer require behzadsp/eloquent-dynamic-photos
```

You can publish the config file with:

```
php artisan vendor:publish --provider="Behzadsp\EloquentDynamicPhotos\Providers\EloquentDynamicPhotosServiceProvider"
```

This is the contents of the global configurations for uploading images.

```
