stil / gd-text

PHP class making it easy to type text on pictures. Supports multi-lined text, horizontal and vertical alignment.
401 stars 130 forks source link

Use code in a basic php #11

Closed AngelSamuel closed 8 years ago

AngelSamuel commented 8 years ago

Hello,

How could I use this code in a basic PHP? I just want to use a form to put name and author and generated.

I had copied and pasted the code into a new .php but apparently this code needs a framework for living.

I just want to use it for a very basic code , how can I use it?

A greeting, Angel.

stil commented 8 years ago

You need to install library via Composer. It's not a framework, just a tool to quickly install external libraries.

AngelSamuel commented 8 years ago

Hello,

I fail to understand how it works the library. You say it's a library that allows to work but then where is the autoload.php where you include include (' ../ vendor / autoload.php ' ) file.

Excuse me , I'm a little new to the GD of images and not to use it. Could you show me a code and fully functioning ? I'm not saying put it with the form , just enough , I will pass the text or parameters.

A greeting, Angel.

stil commented 8 years ago

autoload.php is automatically generated by Composer. Just read on how Composer works and you'll be fine.