PHP code example of macsidigital / laravel-setting
1. Go to this page and download the library: Download macsidigital/laravel-setting 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/ */
macsidigital / laravel-setting example snippets
bash
php artisan vendor:publish --tag="setting-migrations"
php
Group::where('identifier', 'membership')->first();
php
foreach(Group::where('identifier', 'membership')->first()->items){
// do something
}