Download the PHP package douyasi/laravel-wang-editor without Composer

On this page you can find all versions of the php package douyasi/laravel-wang-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 laravel-wang-editor

wangEditor for Laravel

wangEditor 基于javascript和css开发的 Web富文本编辑器, 轻量、简洁、易用、开源免费。官方网站:http://www.wangeditor.com/

Latest Stable Version Latest Unstable Version License Total Downloads

更新日志

2017-12-26 更新 wangEditor3.0.15 大版本,发布 v2.0 版本,并归档 2016-11-15 旧版本为 1.x

主要修改点:

  1. 支持多图片文件上传(包含拖曳上传);
  2. 上传的图片使用 其自身文件 md5 值作为文件名,以减少当天相同图片重复上传占用存储空间问题;
  3. wangEditor 静态资源目录变更,config/wang-editor.php 相关配置项的变更。

旧版 wangEditor (2.x版本)适配包请查阅 1.x 分支说明。

兼容版本

本扩展包经过测试,适配 Laravel 5.1 以上稳定版本(5.0 版本理论上也是可行的,但未经测试)。

安装与配置

composer.json 新增 "douyasi/laravel-wang-editor": "~2.0" 依赖,然后执行: composer update 操作。

依赖安装完毕之后,在 app.php 中添加:

然后,执行下面 artisan 命令,发布该扩展包配置等项。

现在您可以访问 /laravel-wang-editor/example 路由,不出意外,您可以看到扩展包提供的示例页面。

演示视频: http://s1.ystatic.cn/v/9067ff068918189ef850da17acb1d806.mp4

编辑器图片默认会上传到 public/uploads/content 目录下;编辑器相关功能配置位于 config/wang-editor.php 文件中。

使用说明

blade 模版里面使用下面三个方法:we_css()we_js()we_field()we_config()

请注意 we_field()we_config() 第一个参数(对应下面示例中的 wangeditor ) 必须保持一致。


All versions of laravel-wang-editor with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5.9
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 douyasi/laravel-wang-editor contains the following files

Loading the files please wait ....