PHP code example of dgvai / larataller

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

    

dgvai / larataller example snippets


    "DGvai\Larataller\LaratallerServiceProvider"

    'php' => [
        
            /**
             * MINIMUM PHP VERSION
             * --------------------------------------
             * Define the minimum php verison 
             * fine here which extensions are
             * *  artisan
         * command of storage:link , or any 
         * symbolic link operation, then you 
         * might need to check if your hosting/system
         * service supports creating symlinks
         * 
         */

        'symlink' => false,

        /**
         * PERFORM MIGRATION?
         * --------------------------------------
         * Does you application runs migration 
         * to setup your database?
         * 
         */

        'migration' => true,

        /**
         * SQL FILE NAME
         * --------------------------------------
         * If your application does not use
         * migration to setup db, and you want
         * to use .sql file to upload to DB
         * to setup, define its name here.
         * 
         * It should be placed inside public_path
         *    public_path().'/install/mysqlsite_db.sql'
         * 
         * 
         * example: 'sql' => 'mysqlsite_db.sql'
         * 
         */

        'sql' => null, 

        /**
         * EXTRA ENV DATA
         * --------------------------------------
         * If you want to setup some more 
         * env attribute during setup time,
         * place them bellow here.
         * 
         */

        'extra' => [
            [
                'key' => 'ENV_KEY_NAME',
                'title' => 'Title For The Key'
            ]
        ],

        /**
         * COMPLETE INSTALLATION REDIRECT
         * --------------------------------------
         * Redirect after completing the 
         * installation.
         * Provide route() name here.
         * 
         * example: home.dashboard
         */

        'redirect' => null,
bash
    php artisan vendor:publish --tag=larataller
bash
    php artisan config:cache
bash
    php artisan vendor:publish --tag=larataller-views