PHPackages                             wearejust/laravel-postergenerator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. wearejust/laravel-postergenerator

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

wearejust/laravel-postergenerator
=================================

197451PHP

Since Dec 14Pushed 6y ago3 watchersCompare

[ Source](https://github.com/wearejust/laravel-poster-generator)[ Packagist](https://packagist.org/packages/wearejust/laravel-postergenerator)[ RSS](/packages/wearejust-laravel-postergenerator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Laravel poster generator
========================

[](#laravel-poster-generator)

**NOTE: Package is still in development, use it at your own cause**

This collection of classes will enable you to generate `posters` quickly using `PhantomJS`. It enables the developer to easiliy implement an poster in HTML/CSS/JavaScript and let PhantomJS capture this into a image or PDF.

Installation
------------

[](#installation)

First please add the following in your `composer.json` file

```
  "scripts": {
    "post-install-cmd": [
      "PhantomInstaller\\Installer::installPhantomJS"
    ],
    "post-update-cmd": [
      "PhantomInstaller\\Installer::installPhantomJS"
    ]
  },
```

And require the postergenerator in your project

```
composer require wearejust/laravel-postergenerator
```

```
// app.php

  ...
  Just\PosterGenerator\Providers\PosterGeneratorServiceProvider::class
  ...
```

Configuration
-------------

[](#configuration)

You can adjust the settings in the config file (`config/poster.php`). You can also publish the config file using the artisan publish command

Usage
-----

[](#usage)

Firstly, create an poster object with the properties you need in your poster. This could things from `text` to `images`. It's important to implement the `Just\PosterGenerator\PosterInterface`, for example:

```
