Download the PHP package riverslei/laravel-ueditor without Composer

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

laravel5的UEditor包

UEditor是由百度web前端研发部开发所见即所得富文本web编辑器 本项目,是为了支持laravel5,使用的UEditor是php版本的1.4.3 支持本地和七牛云存储(在配置文件中配置),默认为本地上传 public/uploads

修改日志

重要提示

本项目,受益并参考于stevenyangecho/laravel-u-editor项目。 而我,仅仅是做了锦上添花的事情

增加及修改功能

安装

前提条件: php版本>=5.4,项目已安装composer,将php.ini中的extension=php_fileinfo.dll前分号去掉

然后运行composer install或者composer update

安装完成后,打开config/app.php配置服务提供者

最后记得运行

配置文件说明

若以上安装没问题,自定义项目配置文件会在 config/ueditor.php (会自动生成)

middleware 相当重要,请根据自己的项目设置,比如如果在后台使用,请设置为后台的auth middleware. 如果是单纯本机测试,请将 // 'middleware' => 'auth', 直接注释掉,如果留 'middleware'=>''空值,会产生bug,原因不详.

所有UEditor 的官方资源,会放在 public/laravel-ueditor/ ,可以根据自己的需求,更改.(我已重新写了iframe.css,已让上传的内容自适应)

这里需要重点说明的是 core.baseurl 这个配置项,必须正确配置,否则上传的图片路径无法正确显示,当然如果使用七牛,这个可留空不做设置

如何使用测试文件

执行完以后步骤后,会在resources/views/vendor/UEditor中看到test.blade.php文件, 现在需要做以下几步操作

注意


All versions of laravel-ueditor with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
ext-fileinfo Version *
illuminate/support Version 5.0.*|5.1.x
qiniu/php-sdk Version 7.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 riverslei/laravel-ueditor contains the following files

Loading the files please wait ....