PHPackages                             drewdan/asset-handler - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. drewdan/asset-handler

AbandonedLibrary[File &amp; Storage](/categories/file-storage)

drewdan/asset-handler
=====================

A companion package for the Prometheus Markdown npm package. This will provide a route to upload assets and return their url

1.0.1(4y ago)07MITPHPPHP ^7.4|^8.0

Since Sep 11Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Drewdan/asset-handler)[ Packagist](https://packagist.org/packages/drewdan/asset-handler)[ RSS](/packages/drewdan-asset-handler/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

Prometheus Markdown Asset Uploader
==================================

[](#prometheus-markdown-asset-uploader)

This is a companion package for the Prometheus Markdown Editor

Built for Laravel, it registers a route which is the default route for the Markdown Editor to upload assets too. Once uploaded, a URL is returned for use within the markdown editor.

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

[](#installation)

Best installed via composer:

```
composer require drewdan/asset-handler

```

Publish the config files using this command:

```
php artisan vendor:publish --provider="Drewdan\AssetHandler\AssetHandlerServiceProvider" --tag="config"

```

The configuration looks like this:

```
