Download the PHP package aweika/laravel-ueditor without Composer
On this page you can find all versions of the php package aweika/laravel-ueditor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package laravel-ueditor
laravel-ueditor
ueditor for laravel 5.4
============================
使用方法:
-
composer安装
-
在
config/app.php
中的providers
的数组中添加在
config/app.php
中的aliases
的数组中添加 -
执行下面命令
会生成配置文件
config/aweika-laravel-ueditor.php
修改其中的package_path
这个参数,配置ueditor的资源文件生成的目录。 此参数相对于public目录,比如默认值为aweika-laravel-ueditor
,则会将编辑器的资源文件生成到public/aweika-laravel-ueditor
目录中。 -
执行下面命令
会按照上一步设置的路径生成资源文件和一个组件view。
-
打开
routes/web.php
在适当的位置添加如下代码来设置编辑器上传相关操作所需要的路由。 -
在需要使用编辑器的view文件中调用组件,比如表单控件的名称为
element
。-
简单的调用
-
带默认值的调用
- 带自定义脚本的调用
-
All versions of laravel-ueditor with dependencies
PHP Build Version
Package Version
Requires
laravel/framework Version
>=5.4
The package aweika/laravel-ueditor contains the following files
Loading the files please wait ....