twosuperior / screenshot-l4
Screenshot tool for Laravel 4, recommended for internal use only.
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 0
Open Issues: 0
pkg:composer/twosuperior/screenshot-l4
Requires
- php: >=5.3.0
- illuminate/support: 4.*
- intervention/image: 2.*
- jakoch/phantomjs-installer: dev-master
Requires (Dev)
- orchestra/testbench: 2.2.x
- phpunit/phpunit: 3.7.*
This package is auto-updated.
Last update: 2024-03-01 00:12:01 UTC
README
Screenshot tool for Laravel 4 using PhantomJS
Installation
Requirements:
- Any flavour of PHP 5.3+ should do
- illuminate/support 4.*
- "intervention/image 2.*
- jakoch/phantomjs-installer
Setup With Composer:
In order to install, add the following to your composer.json
file within the require
block:
"require": {
…
"twosuperior/screenshot": "1.0.*",
…
}
Within Laravel, locate the file ..app/config/app.php
*.
Add the following to the providers
array:
'providers' => array(
…
'Twosuperior\Screenshot\ScreenshotServiceProvider',
…
),
Furthermore, add the following the the aliases
array:
'aliases' => array(
…
'Screenshot' => 'Twosuperior\Screenshot\Facades\Screenshot',
…
),
Publish the configuration
$ php artisan config:publish twosuperior/screenshot
Lastly, run the command composer update
.