A Laravel 4 Package for websites for manufacturers of food based products, with multiple product categories, products, recipes and stockists
fbf/laravel-food is a Laravel package for a laravel 4 package for websites for manufacturers of food based products, with multiple product categories, products, recipes and stockists.
It currently has 11 GitHub stars and 135 downloads on Packagist (latest version v0.2.0).
Install it with composer require fbf/laravel-food.
Discover more Laravel packages by fbf
or browse all Laravel packages to compare alternatives.
Last updated
A Laravel 4 Package for websites for manufacturers of food based products, with multiple product categories, products, recipes and stockists
Add the following to you composer.json file
"fbf/laravel-food": "dev-master"
Run
composer update
Add the following to app/config/app.php
'Fbf\LaravelFood\LaravelFoodServiceProvider'
Run the package migration
php artisan migrate --package=fbf/laravel-food
Publish the config
php artisan config:publish fbf/laravel-food
Create the relevant image upload directories that you specify in your config, e.g.
public/uploads/packages/fbf/laravel-food/product_categories/main/original
public/uploads/packages/fbf/laravel-food/product_categories/main/resized
public/uploads/packages/fbf/laravel-food/product_categories/stockist/original
public/uploads/packages/fbf/laravel-food/products/main/original
public/uploads/packages/fbf/laravel-food/products/main/resized
public/uploads/packages/fbf/laravel-food/products/main/thumbnail
public/uploads/packages/fbf/laravel-food/recipe_categories/main/original
public/uploads/packages/fbf/laravel-food/recipe_categories/main/resized
public/uploads/packages/fbf/laravel-food/recipes/main/original
public/uploads/packages/fbf/laravel-food/recipes/main/large
public/uploads/packages/fbf/laravel-food/recipes/main/medium
public/uploads/packages/fbf/laravel-food/recipes/main/small
public/uploads/packages/fbf/laravel-food/stockists/logo/original
public/uploads/packages/fbf/laravel-food/stockists/logo/resized
Check out the 2 configuration files for the options, these are:
src/config/config.php
src/config/images.php
You can use the excellent Laravel Administrator package by FrozenNode to administer your blog.
http://administrator.frozennode.com/docs/installation
Several ready-to-use model config files for the models are 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).