PHP code example of agenciafmd / admix-articles

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

    

agenciafmd / admix-articles example snippets




return [
    'name' => 'Artigos',
    'icon' => 'icon fe-book',
    'sort' => 20,
    'default_sort' => [
        '-is_active',
        '-star',
        '-published_at',
        'name',
    ],
    'category' => false,
    'wysiwyg' => false,
    'call' => false,
    'short_description' => false,
    'video' => false,
    'published_at' => true,
    'downloads' => false,
];
bash
php artisan migrate
bash
php artisan vendor:publish --tag=admix-articles:seeders
bash
php artisan vendor:publish --tag=admix-articles:configs