2017 © Pedro Peláez
 

library kparser

Parsing package for my website

image

pazuzu156/kparser

Parsing package for my website

  • Wednesday, March 21, 2018
  • by pazuzu156
  • Repository
  • 1 Watchers
  • 0 Stars
  • 184 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 31 Versions
  • 3 % Grown

The README.md

KParser

Build Status Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

A simple parsing tool for my website., (*2)

About

KParser is a parsing tool for my website. It's got BBCode, some of my own variants of it, and syntax highlighting support with GeSHi, (*3)

Supported Tags

[p]Paragraph Tag[/p]  
[b]Bold Text Tag[/p]  
[i]Italicized Tag[/i]  
[u]Underlined Text Tag[/u]  
[s]Strikethrough Text Tag[/s]  
[o]Overlined Text Tag[/o]  
[hr] - Horizonal Rule Tag  
[hr type=classname] - Horizonal Rule Tag with custom class  
[ul]Unordered List[/ul]  
[ol]Ordered List[/ol]  
[li]List Item Tag - Place inside ordered or unordered list tags[/li]  
[code=language]Code Block Tag[/code] - Code block is tied in with GeSHi; the syntax highlighter for PHP. GeSHi is required to use KParser because of this  
[youtube url=YOUTUBE_VIDEO_URL] - Uses full or share link for YouTube videos  
[size=SIZE]Sized text based on SIZE[/size]
[color=COLOR]Colored text based on COLOR. Can be real value or HEX (red OR #ff0000)[/color]
[center]Centered Text[/center]
[quote]Quoted text with no source cited[/quote]
[quote=Quoted Dude]Quoted text with source cited[/quote]
[url]Unnamed URL[/url]
[url=http://example.com]Named URL[/url]
[url=http://example.com newtab]Named URL that opens in a new tab[/url]
[img src=http://example.com/images/image.jpg] Image
[img src=http://example.com/images/image.jpg class=img-class] Image with class
[img src=http://example.com/images/image.jpg size=150] Sized image defining width
[img src=http://example.com/images/image.jpg size=150x100] Sized image defining width and height
[video src=http://example.com/videos/video.mp4] HTML5 video
[video src=http://example.com/videos/video.mp4 controls] HTML5 video with controls
[video src=http://example.com/videos/video.mp4 size=500x400] HTML5 video with width and height
[video src=http://example.com/videos/video.mp4 size=500] HTML5 video with global size
[video src=http://example.com/videos/video.mp4 controls size=500] HTML5 video with global size and controls
[hNUMBER] Heading. 1-6 for NUMBER[/hNUMBER]
[space] A single space
[spaceNUMBER] A NUMBER of spaces
[tab] A single tab
[tabNUMBER] A NUMBER of tabs
[cmd] Command line command[/cmd] - Shows a command block using <pre> and <code>
[noparse] Place KScript code in here[/noparse] - Prevents KScript from being parsed inside this block 
[cmt=COMMENT] Write a comment in your code to yourself ;)  

Install

To install this into Laravel, include the following in your composer.json:, (*4)

"pazuzu156/kparser": "1.*",

If you wish to use the lastest "bleeding-edge" version of KParser, use the following instead of the official release:, (*5)

"pazuzu156/kparser": "dev-master"

Or..just use composer ;) $ composer require pazuzu156/kparser, (*6)

Once you've done that, include the service provider and facade into app/config/app.php
Service Provider, (*7)

Pazuzu156\KParser\Laravel\KParserServiceProvider::class

Facade, (*8)

'KParser' => Pazuzu156\KParser\Laravel\KParserFacade::class

Usage

To use KParser, you can either include it into the php file or use the facade to integrate it into Blade using the service provider/facade included., (*9)

parse($text);
    }
}

```

```blade
@extends('layout.main')
@section('content')
{!! KParser::parse('[code=php][/code]') !!}
@stop

Support

KParser has support for the popular Laravel framework as well as support for my own MVC framework Scara, (*10)

The Versions

21/03 2018

dev-master

9999999-dev http://pazuzu156.github.io/KParser

Parsing package for my website

  Sources   Download

GPL GPL-2.0-only

The Requires

 

The Development Requires

laravel parser

21/03 2018

v1.2.8.1

1.2.8.1 http://pazuzu156.github.io/KParser

Parsing package for my website

  Sources   Download

GPL-2.0-only

The Requires

 

The Development Requires

laravel parser

28/06 2017

v1.2.8

1.2.8.0 http://pazuzu156.github.io/KParser

Parsing package for my website

  Sources   Download

GPL

The Requires

 

The Development Requires

laravel parser

21/02 2017

v1.2.7

1.2.7.0 http://pazuzu156.github.io/KParser

Parsing package for my website

  Sources   Download

GPL

The Requires

 

The Development Requires

laravel parser

17/10 2016

v1.2.6

1.2.6.0 http://pazuzu156.github.io/KParser

Parsing package for my website

  Sources   Download

GPL

The Requires

 

The Development Requires

laravel parser

16/10 2016

v1.2.5

1.2.5.0 http://pazuzu156.github.io/KParser

Parsing package for my website

  Sources   Download

GPL

The Requires

 

The Development Requires

laravel parser

18/09 2016

v1.2.4

1.2.4.0 http://pazuzu156.github.io/KParser

Parsing package for my website

  Sources   Download

GPL

The Requires

 

The Development Requires

laravel parser

03/09 2016

v1.2.3

1.2.3.0 http://pazuzu156.github.io/KParser

Parsing package for my website

  Sources   Download

GPL

The Requires

 

The Development Requires

laravel parser

04/07 2016

v1.2.2

1.2.2.0 http://pazuzu156.github.io/KParser

Parsing package for my website

  Sources   Download

GPL

The Requires

 

The Development Requires

laravel parser

04/07 2016

v1.2.1

1.2.1.0 http://pazuzu156.github.io/KParser

Parsing package for my website

  Sources   Download

GPL

The Requires

 

The Development Requires

laravel parser

03/07 2016

v1.2

1.2.0.0 http://pazuzu156.github.io/KParser

Parsing package for my website

  Sources   Download

GPL

The Requires

 

The Development Requires

laravel parser

03/02 2016

v1.1.8

1.1.8.0 http://pazuzu156.github.io/KParser

Parsing package for my website

  Sources   Download

GPL

The Requires

 

laravel parser

15/12 2015

v1.1.7

1.1.7.0 http://pazuzu156.github.io/KParser

Parsing package for my website

  Sources   Download

GPL

The Requires

 

laravel parser

21/10 2015

v1.1.6

1.1.6.0 http://pazuzu156.github.io/KParser

Parsing package for my website

  Sources   Download

GPL

The Requires

 

laravel parser

09/10 2015

v1.1.5

1.1.5.0 http://pazuzu156.github.io/KParser

Parsing package for my website

  Sources   Download

GPL

The Requires

 

laravel parser

06/10 2015

v1.1.4

1.1.4.0 https://github.com/pazuzu156/kparser

Parsing package for my website

  Sources   Download

GPL

The Requires

 

laravel parser

29/06 2015

v1.1.3

1.1.3.0 https://github.com/pazuzu156/kparser

Parsing package for my website

  Sources   Download

GPL

The Requires

 

laravel parser

12/05 2015

v1.1.2

1.1.2.0 https://github.com/pazuzu156/kparser

Parsing package for my website

  Sources   Download

GPL

The Requires

 

laravel parser

06/05 2015

v1.1.1

1.1.1.0 https://github.com/pazuzu156/kparser

Parsing package for my website

  Sources   Download

GPL

The Requires

 

laravel parser

11/02 2015

v1.1

1.1.0.0 https://github.com/pazuzu156/kparser

Parsing package for my website

  Sources   Download

GPL

The Requires

 

The Development Requires

laravel parser

09/02 2015

v1.0.10

1.0.10.0 https://github.com/pazuzu156/kparser

Parsing package for my website

  Sources   Download

GPL

The Requires

 

The Development Requires

laravel parser

29/01 2015

v1.0.9

1.0.9.0 https://github.com/pazuzu156/kparser

Parsing package for my website

  Sources   Download

GPL

The Requires

 

The Development Requires

laravel parser

29/01 2015

v1.0.8

1.0.8.0 https://github.com/pazuzu156/kparser

Parsing package for my website

  Sources   Download

GPL

The Requires

 

The Development Requires

laravel parser

12/01 2015

v1.0.7

1.0.7.0 https://github.com/pazuzu156/kparser

Parsing package for my website

  Sources   Download

GPL

The Requires

 

The Development Requires

laravel parser

16/12 2014

v1.0.6

1.0.6.0 https://github.com/pazuzu156/kparser

Parsing package for my website

  Sources   Download

GPL

The Requires

 

The Development Requires

laravel parser

15/12 2014

v1.0.5

1.0.5.0 https://github.com/pazuzu156/kparser

Parsing package for my website

  Sources   Download

GPL

The Requires

 

The Development Requires

laravel parser

12/12 2014

v1.0.4

1.0.4.0 https://github.com/pazuzu156/kparser

Parsing package for my website

  Sources   Download

GPL

The Requires

 

The Development Requires

laravel parser

08/12 2014

v1.0.3

1.0.3.0 https://github.com/pazuzu156/kparser

Parsing package for my website

  Sources   Download

GPL

The Requires

 

The Development Requires

laravel parser

06/12 2014

v1.0.2

1.0.2.0 https://github.com/pazuzu156/kparser

Parsing package for my website

  Sources   Download

GPL

The Requires

 

The Development Requires

laravel parser

06/12 2014

v1.0.1

1.0.1.0 https://github.com/pazuzu156/kparser

Parsing package for my website

  Sources   Download

GPL

The Requires

 

The Development Requires

laravel parser

06/12 2014

v1.0

1.0.0.0 https://github.com/pazuzu156/kparser

Parsing package for my website

  Sources   Download

GPL

The Requires

 

The Development Requires

laravel parser