Download the PHP package despark/html-template-curator without Composer

On this page you can find all versions of the php package despark/html-template-curator. 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 html-template-curator

Laravel HTML Template Curator

Laravel 5 package, which enables you to manage complicated HTML templates, preserving the design integrity. (if you want to use this plugin with Laravel 4 please require the v1.0.2 )

The purpose of this package is to help you implement rich text editing for complicated HTML views, but remove the risk of breaking the beautiful designs, which your talanted designers produced. The idea is that when coding your HTML templates you add the eg-editable class to all the elements, which you want to enable for editing through the HTML Template Curator and the curator automatically injects inline editors for them only when initialised.

Genting Started

  1. Add the following dependency to your composer.json's require section:

    In order to use the plugin you need to set composer's minimum-stability to beta, because we are using cviebrock/image-validator in beta release, since stable is still not provided for Laravel 5.

  2. Run composer update
  3. Add the HTML template curator's service provider in config/app.php

  4. Run php artisan vendor:publish --provider="Despark\HtmlTemplateCurator\HtmlTemplateCuratorServiceProvider" --tag="views" to publish views
  5. Run php artisan vendor:publish --provider="Despark\HtmlTemplateCurator\HtmlTemplateCuratorServiceProvider" --tag="config" to publish the configuration files
  6. Run php artisan vendor:publish --provider="Despark\HtmlTemplateCurator\HtmlTemplateCuratorServiceProvider" --tag="public" to publish the assets
  7. Put your amazing HTML templates (which include the required eg-editable on all the editable sections) in a new folder called templates in your public directory. (In the /public/packages/despark/html-template-curator/templates/ folder you will find some examples of HTML templates)
  8. In the views where you want to enable the Template Curator functionality you need to have atleast the following two elements.

    A <select> field which will load the available templates, so that the user can select the layout, which to edit. E.g.

    A <textarea> element in which the raw and up to date HTML of the template will be loaded. (keep in mind that this element will be automatically hidden by the script) E.g.

  9. In the view which will hold the editor after the definition of the elements above add the following code:

You can uncoment {{-- <script src="{{ asset('vendor/html-template-curator/js/vendor/jquery/dist/jquery.min.js') }}"></script> --}} if you don't already have jQuery required somewhre in your code.

  1. Add the available templates in the following config: config/html-template-curator.php under the templates key of the config array. As key for each element of the array put the name of the folder in which the template is stored and as a value put the display name you want to appear in the select field.
  2. Make sure you have set the proper app URL in the config/app.php file
  3. After you are done navigate the page you just created and start editing your templates.

In the package views you will find a folder called examples, which contains sample implementations of the editor.

P.S.: Keep in mind that this is still work in progress, so there might some small issues for resolving, but I count on you and your great pull-requests to make it a great plugin


All versions of html-template-curator with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5.9
illuminate/support Version 5.1.*
illuminate/routing Version 5.1.*
illuminate/database Version 5.1.*
intervention/image Version ~2
intervention/imagecache Version ~2.1
laravelcollective/html Version ~5.0
cviebrock/image-validator Version 2.0.*@beta
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 despark/html-template-curator contains the following files

Loading the files please wait ....