Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/piotrplenik/acdompdfplugin
acDomPDFPlugin for from Gitorious
https://github.com/piotrplenik/acdompdfplugin
Last synced: about 2 months ago
JSON representation
acDomPDFPlugin for from Gitorious
- Host: GitHub
- URL: https://github.com/piotrplenik/acdompdfplugin
- Owner: piotrplenik
- License: other
- Created: 2015-11-30T15:58:45.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-30T16:02:57.000Z (about 9 years ago)
- Last Synced: 2023-03-09T15:57:32.003Z (almost 2 years ago)
- Language: PHP
- Size: 14.7 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
# acDompdfPlugin (for symfony 1.3/1.4) #
Allows you to use easily the DOMPDF library (an HTML to PDF converter).
## Installation ##
* Install the plugin (via a package)
symfony plugin:install acDompdfPlugin
* Install the plugin (via a git clone)
git clone git://gitorious.org/acdompdfplugin/acdompdfplugin.git acDompdfPlugin* Activate the plugin in the `config/ProjectConfiguration.class.php`
[php]
class ProjectConfiguration extends sfProjectConfiguration
{
public function setup()
{
$this->enablePlugins(array(
'sfDoctrinePlugin',
'acDompdfPlugin',
'...'
));
}
}
* Clear you cachesymfony cc
* Note : the DOMPDF library is included in the plugin (in its stable version 0.5.2)
## Use ##* The DOMPDF class is autoloaded now, you can use it easily
[php]
$pdf = new DOMPDF();
* For more information on DOMPDF, see the project and documentation at [DOMPDF Project](http://code.google.com/p/dompdf/)