fbf/laravel-testimonials
| Install | |
|---|---|
composer require fbf/laravel-testimonials |
|
| Latest Version: | v0.2.0 |
| PHP: | >=5.3.0 |
| License: | MIT |
| Last Updated: | Feb 14, 2014 |
| Links: | GitHub · Packagist |
Laravel Testimonials
A Laravel 4 package for adding testimonials to a website
Features
- Paginated index view with configurable results per page
- Draft/Approved status
- Soft deletes
- Configurable URLs, e.g. /testimonials and /testimonials/< testimonial slug >
- Fields for title, slug, image, YouTube video, content, source, published date, status, page title, meta description and keywords
Installation
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
Configuration
See the src/config/config.php file for options
Faker Seed
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
Administrator
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).
Related Packages
Powerful PHP database abstraction layer (DBAL) with many features for database s...
Laravel Serializable Closure provides an easy and secure way to serialize closur...
Cli error handling for console/command-line PHP applications.