Download the PHP package moonshine/tinymce without Composer

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

TinyMce field for MoonShine Laravel admin panel

Extends Textarea and has the same features

windows

[!IMPORTANT] Before using this field, you must register on the site at Tiny.Cloud, get the token and add it to the .env


Compatibility

MoonShine Moonshine TinyMce Currently supported
>= v3.0 >= v1.0.0 yes

Installation

Usage

Default config

TinyMce field uses the most common settings such as plugins, menubar and toolbar by default

To change the default settings, you need to publish the configuration file:

You can also add additional options to the configuration file that will apply to all TinyMce fields

Locale

The default is your application's locale, but using the locale() method you can define a specific locale

English (en), Russian (ru) and Ukrainian (uk) are currently available, but we are always ready to add the others.

To add new localizations, create an issue or make a pull request

Plugins

The plugins() method allows you to completely override the plugins that the field will use

The addPlugins() method allows you to add new plugins to the default plugins

The removePlugins() method allows you to exclude plugins that the field will use

Menubar

The menubar() method allows you to completely override menubar for a field

Toolbar

The toolbar() method allows you to completely override toolbar for a field

Options

The addOption() method allows you to add additional options for a field

The addCallback() method allows you to add callback options for a field

[!NOTE] You can use string, number, boolean and array as values.

File manager

If you want to use the file manager in TinyMce, you need to install the package Laravel FileManager

Installation

[!NOTE] Be sure to set the 'use_package_routes' flag in the lfm config to false, otherwise caching routes will cause an error.

Routes file

Create a routes file like routes/moonshine.php and register the LaravelFilemanager routes.

File registration

Register the generated routes file in app/Providers/RouteServiceProvider.php

[!WARNING] The route file must be in the middleware moonshine group!

[!IMPORTANT] In order to allow access only to users authorized in the admin panel you need to add middleware MoonShine\Laravel\Http\Middleware\Authenticate.

Configuration

You need to add an option for the field

or add in the config/moonshine_tinymce.php configuration file to apply to all TinyMCe fields


All versions of tinymce with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2|^8.3
ext-curl Version *
ext-json Version *
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 moonshine/tinymce contains the following files

Loading the files please wait ....