├── resources
├── images
│ ├── file.png
│ ├── audio.png
│ ├── image.png
│ ├── upload.png
│ └── video.png
├── fonts
│ ├── Inter-Bold.ttf
│ ├── Inter-Thin.ttf
│ ├── Inter-Black.ttf
│ ├── Inter-Light.ttf
│ ├── Inter-Medium.ttf
│ ├── Inter-Regular.ttf
│ ├── Inter-ExtraBold.ttf
│ ├── Inter-SemiBold.ttf
│ ├── Inter-ExtraLight.ttf
│ ├── README.txt
│ └── OFL.txt
├── icons
│ ├── exit.blade.php
│ ├── close.blade.php
│ ├── arrow.blade.php
│ └── logo.blade.php
├── views
│ ├── tailwind
│ │ ├── includes
│ │ │ ├── editor.blade.php
│ │ │ ├── header.blade.php
│ │ │ ├── previews.blade.php
│ │ │ ├── strip.blade.php
│ │ │ ├── alert.blade.php
│ │ │ ├── stats.blade.php
│ │ │ ├── footer.blade.php
│ │ │ ├── sidebar.blade.php
│ │ │ ├── meta.blade.php
│ │ │ ├── attachments.blade.php
│ │ │ ├── pagination.blade.php
│ │ │ ├── uploads.blade.php
│ │ │ ├── toolbar.blade.php
│ │ │ └── form.blade.php
│ │ └── media-browser.blade.php
│ └── assets
│ │ ├── scripts.blade.php
│ │ └── styles.blade.php
├── database
│ └── migrations
│ │ └── 2023_02_19_002734_create_attachments_table.php
└── config
│ └── config.php
├── pint.json
├── src
├── Exceptions
│ ├── MediaSourceException.php
│ ├── MediaBrowserException.php
│ └── MediaExtensionException.php
├── Assets
│ ├── Styles.php
│ └── Scripts.php
├── Eloquent
│ ├── Eloquent.php
│ └── EloquentManager.php
├── GraphicDraw
│ ├── GraphicDraw.php
│ ├── GraphicDrawManager.php
│ └── GraphicDrawBase.php
├── Enums
│ └── BrowserEvents.php
├── Traits
│ ├── WithReporting.php
│ ├── WithExtension.php
│ ├── WithFileSize.php
│ ├── WithCache.php
│ ├── WithFonts.php
│ ├── WithColumnWidths.php
│ ├── WithStorage.php
│ ├── WithMimeTypes.php
│ ├── ServerLimits.php
│ └── WithGraphicDraw.php
├── Concerns
│ ├── AlertState.php
│ ├── ModalState.php
│ ├── PanelState.php
│ ├── ShowState.php
│ └── AttachmentState.php
├── Models
│ └── Attachment.php
├── Console
│ └── Commands
│ │ ├── InstallCommand.php
│ │ └── UpdateCommand.php
├── Providers
│ └── MediableServiceProvider.php
└── Components
│ └── MediaBrowser.php
├── LICENSE
├── composer.json
├── CHANGELOG.md
├── CONTRIBUTING.md
└── README.md
/resources/images/file.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tomshaw/mediable/HEAD/resources/images/file.png
--------------------------------------------------------------------------------
/resources/images/audio.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tomshaw/mediable/HEAD/resources/images/audio.png
--------------------------------------------------------------------------------
/resources/images/image.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tomshaw/mediable/HEAD/resources/images/image.png
--------------------------------------------------------------------------------
/resources/images/upload.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tomshaw/mediable/HEAD/resources/images/upload.png
--------------------------------------------------------------------------------
/resources/images/video.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tomshaw/mediable/HEAD/resources/images/video.png
--------------------------------------------------------------------------------
/resources/fonts/Inter-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tomshaw/mediable/HEAD/resources/fonts/Inter-Bold.ttf
--------------------------------------------------------------------------------
/resources/fonts/Inter-Thin.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tomshaw/mediable/HEAD/resources/fonts/Inter-Thin.ttf
--------------------------------------------------------------------------------
/resources/fonts/Inter-Black.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tomshaw/mediable/HEAD/resources/fonts/Inter-Black.ttf
--------------------------------------------------------------------------------
/resources/fonts/Inter-Light.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tomshaw/mediable/HEAD/resources/fonts/Inter-Light.ttf
--------------------------------------------------------------------------------
/resources/fonts/Inter-Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tomshaw/mediable/HEAD/resources/fonts/Inter-Medium.ttf
--------------------------------------------------------------------------------
/resources/fonts/Inter-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tomshaw/mediable/HEAD/resources/fonts/Inter-Regular.ttf
--------------------------------------------------------------------------------
/resources/fonts/Inter-ExtraBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tomshaw/mediable/HEAD/resources/fonts/Inter-ExtraBold.ttf
--------------------------------------------------------------------------------
/resources/fonts/Inter-SemiBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tomshaw/mediable/HEAD/resources/fonts/Inter-SemiBold.ttf
--------------------------------------------------------------------------------
/resources/fonts/Inter-ExtraLight.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tomshaw/mediable/HEAD/resources/fonts/Inter-ExtraLight.ttf
--------------------------------------------------------------------------------
/pint.json:
--------------------------------------------------------------------------------
1 | {
2 | "preset": "laravel",
3 | "rules": {
4 | "single_import_per_statement": false,
5 | "group_import": true
6 | }
7 | }
--------------------------------------------------------------------------------
/src/Exceptions/MediaSourceException.php:
--------------------------------------------------------------------------------
1 |
2 |
| Id | 17 |Name | 18 |Type | 19 |Size | 20 | 21 | 22 |Actions | 23 |
|---|---|---|---|---|
| {{ $index+1 }} | 29 |{!! \Illuminate\Support\Str::limit($file->getClientOriginalName(), 40, '...') !!} | 30 |{{ $file->getMimeType() }} | 31 |{{$this->formatBytes($file->getSize())}} | 32 | 33 | 34 |35 | 36 | 40 | 41 | | 42 |