Download the PHP package paulyg/wikicreole without Composer

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

=A Parser for Wiki Creole in PHP=

Creole is a standardized specification for wiki markup syntax that attempts to be as universal as possible across all of the different wiki engines out there (WikiMedia, MoinMoin, etc). The 1.0 //stable// version of the specification was released in 2008. You can find out more about Creole, including syntax cheat sheets and the history behind the project at the website http://wikiceole.org.

The intent of this library is provide a general pupose Wiki Creole-to-(X)HTML converter that can be uses in any CMS, wiki, blog, etc software. The library is implemented as a single class. An MIT license allows it's reuse in just about any type of software.

==Motivation== I began using Creole syntax inside of [[http://www.tiddlywiki.com|TiddlyWiki]], a personal wiki written in Javascript. I find the Creole syntax to be the most natural and intuitive wiki syntax out there. I prefer it to Markdown (despite it's popularity these days), maybe just because I am so used it it. I wrote this class/library because I wanted to use Creole markup in a CMS I am (very slowly) writing. At the time the only other general purpose Wiki Creole parser written in PHP was {{{Pear_Text_Wiki}}}. I decided to write my own that used PHP5 class structure and did not depend on PEAR. Later on I found out about the little known {{{ezcDocumentCreoleWiki}}}.

==Requirements==

==Features==

==Setting Options== The class requires an array of options to be passed as the first argument in it's constructor. The options array follows a 'keyname' => 'value' format. There are currently six valid key names.

Any of the above options can also be set with the {{{setOption($key, $value)}}} method.

A second, optional, constructor argument {{{$list_of_existing_page_slugs}}} accepts an array containing a list of existing pages. The values of the array (keys are ignored) must be just the URL slug for a page after any illegal characters have stripped and formatting been applied (i.e. spaces to dashes). See the {{{linkCallback()}}} method and {{{$url_special_chars}}} property for more info on the URL formatting. I realize different software packages may have different rules for URL formatting/preparation. This is something that may become pluggable in the future.

==Known issues==

  • Multi-line list items do not work.
  • Putting }}} inside a no wiki tag will trip up the parser.

==Creole Additions==

  • I like to use strikethrough so I added {{{--strikethrough--}}} and then also {{{underline}}} as markup formats. The rendered HTML uses a {{{}}} tag with style applied to be compatible with HTML4/XHTML1 Strict. Note however that {{{}}} and {{{}}} are valid HTML5 tags. I may add a flag to toggle between these two options in the future.
  • I've also implemented the {{{##monospace##}}} addition which wraps the text in {{{}}} tags (this was supposed to be {{{}}} but that was dropped in HTML5).

==Block Level Macros== You register your marco by calling the {{{registerMacro($macroName, $callback)}}} method. Again the $callback can be any valid PHP callable including a Closure. The parser will match a block level macro with the following sytax: {{{ <<macroName arg1 arg2 This is some paragraph text.

}}} Arguments for your macro function should be separated by spaces and must appear on the first line. The //body// of the macro follows on the next lines until the closing marker {{{>>}}} is found. When your macro is called the arguments will be passed in the order they were presented. The body will always be last. Whatever your function returns will be placed in the markup in place of the macro tag. Inline macros are next on my development list.

==Plans for the future==

  • Fix the stuff in known issues.
  • Inline macros.
  • Possible automatic creation of anchors on headings (this is a common usage pattern).
  • Implement a strict/non-strict mode that would toggle between HTML4/XHTML1 Strict compliance and tags allowed in HTML 5.
  • Pluggable formatting for //free link//.
  • Pluggable transformation of plain text wiki links into page slugs.

All versions of wikicreole with dependencies

PHP Build Version
Package Version
Requires php Version >=5.2.4
ext-pcre 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 paulyg/wikicreole contains the following files

Loading the files please wait ....