Download the PHP package wenslim/editormd without Composer

On this page you can find all versions of the php package wenslim/editormd. 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 editormd

Editor.md in Laravel

简介

Editor.md 编辑器基于 Markdown 整体界面干净整洁, 功能全面很适合做后台发文等编辑器

演示

image

使用

为方便今后开发使用,简化成包,欢迎 star.
上传图片新增对 upyun「又拍云」 的支持.

版本

要求 Laravel version 5.5+

安装

生成配置

关于包更新

  1. 请查看 github 文档当前包最新版本号, 目前是 0.1.2 composer.json

更新

  1. 删除 config / editormd.php配置文件并通过上面指令重新生成配置

配置文件

config / editormd.php

使用 default 时

.env

说明:如果是本地,请填写你的域名

使用 upyun 时

修改配置

config / services.php

说明:

  • name - 服务名称
  • user - 操作员名称
  • pass - 操作员密码

    配置账号

    .env

发布时

resources / views / articles / create.blade.php

说明:

  1. 请在资源脚本之前引入 Jquery
  2. 请为 textarea 的父级元素指明 id 选择器

注意:若使用了 laravel mix 项目默认会生成 app.js,其中包含了 jQuery,此时只需要在脚本引入之前加载 app.js 即可,若未使用,可以采取上述引入 cdn 的方式

存储时

app / Http / Controllers / ArticlesController.php

说明:

  1. 默认存储 content 的原始内容
  2. 新增 markdown 字段存储编译后的内容

显示时

resources / views / articles / show.blade.php

说明:用于修改时,请读取 content 的内容


All versions of editormd with dependencies

PHP Build Version
Package Version
Requires upyun/sdk Version ~3.3.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 wenslim/editormd contains the following files

Loading the files please wait ....