Re: PHP SQL Color Syntax that is Postgresql & GPL3 Compatible?

From: John DeSoi <desoi(at)pgedit(dot)com>
To: Ken Tanzer <ken(dot)tanzer(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: PHP SQL Color Syntax that is Postgresql & GPL3 Compatible?
Date: 2012-04-25 11:55:38
Message-ID: 10C2D17B-7536-4008-8F94-4859989418E2@pgedit.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Apr 25, 2012, at 6:57 AM, Ken Tanzer wrote:

> Hi. I'm looking for an Open Source PHP code that will take plain text SQL and turn it into colorful HTML. If it could take messy code and clean up indents and such (a la SQLinForm), that would be a nice bonus. Ideally it would understand many flavors of SQL, but handling Postgresql syntax is most important. I want to include this in my own project, so it needs to be redistributable and specifically GPL3 compatible. Again ideally, it would be a standalone and fairly lightweight piece of code, rather than having to embed some monster package.
>
> Does anyone know of such a beast? TIA for any help provided.

Not stand alone, but the phpPgAdmin project colors SQL/PostgreSQL code and I believe the license is GPL.

http://phppgadmin.sourceforge.net/doku.php?id=start

John DeSoi, Ph.D.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Armand Turpel 2012-04-25 12:11:35 Psql dosent log error messages on windows
Previous Message Ken Tanzer 2012-04-25 10:57:06 PHP SQL Color Syntax that is Postgresql & GPL3 Compatible?