PHP code example of rockhopsoft / fallacy

1. Go to this page and download the library: Download rockhopsoft/fallacy 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/ */

    

rockhopsoft / fallacy example snippets


...
'providers' => [
	...
	Survloop\SurvloopServiceProvider::class,
	Fallacy\FallacyServiceProvider::class,
	...
],
...
'aliases' => [
	...
	'Survloop'	 => 'RockHopSoft\Survloop\SurvloopFacade',
	'Fallacy'	 => 'RockHopSoft\Fallacy\FallacyFacade',
	...
],
...

...
'model' => App\Models\User::class,
...

$ composer global -project laravel/laravel Fallacy "5.7.*"
$ cd Fallacy
$ php artisan make:auth
$ php artisan vendor:publish --tag=laravel-notifications

$ nano config/app.php

$ nano config/auth.php

$ php artisan vendor:publish --force
$ php artisan migrate
$ composer dump-autoload
$ php artisan db:seed --class=SurvloopSeeder
$ php artisan db:seed --class=FallacySeeder