PHP code example of habr0 / seat-buyback
1. Go to this page and download the library: Download habr0/seat-buyback 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/ */
habr0 / seat-buyback example snippets
shell
# Install the package
composer igrate
# Publish assets
php artisan vendor:publish # Select habr0/*
# Run the seeder
php artisan db:seed --class="Habr0\Buyback\Database\Seeders\BuybackSeeder"
# Clear caches
php artisan seat:cache:clear
php artisan config:cache
php artisan route:cache