PHP code example of familytree365 / backend
1. Go to this page and download the library: Download familytree365/backend 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/ */
familytree365 / backend example snippets
bash
$ php artisan key:generate
$ php artisan migrate --path=database/migrations/landlord --database=landlord
$ php artisan db:seed
# serve with hot reload at localhost:8000
$ php artisan serve
bash
# install dependencies
$ npm install -g laravel-echo-server
$ laravel-echo-server configure
$ nano .env
BROADCAST_DRIVER=redis
REDIS_PREFIX=
$ laravel-echo-server start