Package Data | |
---|---|
Maintainer Username: | neilcrookes |
Maintainer Contact: | neil.crookes@fivebyfiveuk.com (Neil Crookes) |
Package Create Date: | 2013-11-25 |
Package Last Update: | 2014-02-14 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-10 15:02:20 |
Package Statistics | |
---|---|
Total Downloads: | 137 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 6 |
Total Watchers: | 3 |
Total Forks: | 0 |
Total Open Issues: | 0 |
A Laravel 4 package for adding testimonials to a website
Add the following to you composer.json file
"fbf/laravel-testimonials": "dev-master"
Run
composer update
Add the following to app/config/app.php
'Fbf\LaravelTestimonials\LaravelTestimonialsServiceProvider'
Run the package migration
php artisan migrate --package=fbf/laravel-testimonials
Publish the config
php artisan config:publish fbf/laravel-testimonials
Create the relevant image upload directories that you specify in your config, e.g.
public/uploads/packages/fbf/laravel-testimonials/original
public/uploads/packages/fbf/laravel-testimonials/resized
public/uploads/packages/fbf/laravel-testimonials/thumbnail
See the src/config/config.php
file for options
There is a faker seed that can be used to create fake testimonials content for the purposes of testing, to run it...
php artisan db:seed --class=Fbf\LaravelTestimonials\TestimonialsTableFakeSeeder
You can use the excellent Laravel Administrator package by frozennode to administer your testimonials.
http://administrator.frozennode.com/docs/installation
A ready-to-use model config file for the Testimonial model (testimonials.php) is provided in the src/config/administrator directory of the package, which you can copy into the app/config/administrator directory (or whatever you set as the model_config_path in the administrator config file).