Download the PHP package appslabke/reviewable without Composer
On this page you can find all versions of the php package appslabke/reviewable. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download appslabke/reviewable
More information about appslabke/reviewable
Files in appslabke/reviewable
Download appslabke/reviewable
More information about appslabke/reviewable
Files in appslabke/reviewable
Vendor appslabke
Package reviewable
Short Description This is package help you add reviews to any model and/or make any model a reviewer
License MIT
Homepage https://appslab.co.ke
Package reviewable
Short Description This is package help you add reviews to any model and/or make any model a reviewer
License MIT
Homepage https://appslab.co.ke
Please rate this library. Is it a good library?
Informations about the package reviewable
Laravel Reviews & Reviews Monitor
Installation
$user = app('App\User')->find(1);
$hotel = app('App\Models\Hotel')->create([
'name' => 'demo guy',
'slogan' => 'this is it',
'email' => 'marv@d'.time().'d.com',
'phone_no' => '0704407117',
'street' => 'langata',
'photo' => '/dejje',
'slug' => 'dmeo-dmeo',
'user_id' => $user->id,
'activated' => true
]);
$result = $review->fill(array_merge([
'title' => 'demo',
'review' => 'demo fuck review demo guy this it demro marvin',
'approved' => 1,
'hotel_id' => 1,
'rating' => 7,
],[
'reviewer_id' => $user->id,
'reviewer_type' => get_class($user)
]));
$hotel->reviews()->save($result);
All versions of reviewable with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.0
The package appslabke/reviewable contains the following files
Loading the files please wait ....