Download the PHP package mckenziearts/livewire-markdown-editor without Composer

On this page you can find all versions of the php package mckenziearts/livewire-markdown-editor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package livewire-markdown-editor

Laravel Markdown Editor

Build Status Total Downloads Latest Stable Version License

GitHub-style Markdown editor for Laravel with Livewire and Alpine.js. This module provides a complete, standalone Markdown editing experience with full dark mode support.

Dependencies

Features

Installation

Livewire Markdown editor can be installed via composer from your project root:

Include the Markdown formatting buttons for text inputs Editor into your project:

2. Load assets

Add the module's JavaScript to your main resources/js/app.js:

And the CSS file to your main resources/css/app.css:

Then build:

3. Register the module

The service provider is auto-discovered via Laravel's package discovery.

Usage

Basic Usage

With Custom Configuration

In Livewire Components

Component Properties

Property Type Default Description
content string '' The markdown content (use with wire:model)
placeholder string 'Leave a comment...' Textarea placeholder text
class string null Textarea custom classes
rows int 10 Number of textarea rows
showToolbar bool true Show/hide the markdown toolbar
showUpload bool true Show/hide the file upload button

Toolbar Features

File Uploads

Files are automatically uploaded to the configured disk when selected. Images are inserted as ![filename](url) and other files as [filename](url).

Make sure your storage is properly configured:

Security

To prevent arbitrary file upload vulnerabilities (stored XSS, phishing page hosting, malware distribution), only images are accepted by default. Uploaded files are stored under a randomly generated filename with the validated extension, and the original client-provided filename is sanitized before being inserted into the markdown output.

You can customize the allowed file types and max size via the upload config key:

If you need to allow non-image files, extend allowed_extensions and set images_only to false. When using a public cloud disk (S3, Spaces, R2, Scaleway), review the bucket policy to ensure non-whitelisted Content-Types cannot be served inline.

If you do not use file uploads at all, disable the feature entirely:

Markdown Support

The editor supports full GitHub Flavored Markdown including:

Dark Mode

Dark mode is fully supported and automatically follows your Tailwind CSS dark mode configuration.

Customization

Publishing Views

Views will be published to resources/views/vendor/livewire-markdown-editor/.

Publishing Assets

License

Distributed under the MIT license. See LICENSE for details.


All versions of livewire-markdown-editor with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
codeat3/blade-phosphor-icons Version ^2.4
illuminate/contracts Version ^11.0|^12.0|^13.0
illuminate/support Version ^11.0|^12.0|^13.0
spatie/commonmark-shiki-highlighter Version ^2.5
livewire/livewire Version ^3.6|^4.0
league/commonmark Version ^2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mckenziearts/livewire-markdown-editor contains the following files

Loading the files please wait ...