PHP code example of javcorreia / laravel-wishlist

1. Go to this page and download the library: Download javcorreia/laravel-wishlist library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

javcorreia / laravel-wishlist example snippets


return [
    'item_model' => App\Models\Product::class,
];
shell
php artisan vendor:publish --provider="javcorreia\Wishlist\Providers\WishlistServiceProvider"
shell
php artisan migrate
shell
php artisan config:cache