PHP code example of thisismahabadi / laravel-feature-flags
1. Go to this page and download the library: Download thisismahabadi/laravel-feature-flags 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/ */
thisismahabadi / laravel-feature-flags example snippets
bash
php artisan vendor:publish --tag=feature-flags-config
bash
public function featureAccessor(): BelongsTo
{
return $this->belongsTo(Agency::class, 'agency_id', 'id');
}