PHP code example of romanzipp / laravel-make-file-permissions

1. Go to this page and download the library: Download romanzipp/laravel-make-file-permissions 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/ */

    

romanzipp / laravel-make-file-permissions example snippets


romanzipp\MakeFilePermissions\Providers\MakeFilePermissionsProvider::class,

return [

    /**
     * Enable the permission service
     */
    'enabled' => env('MAKE_PERMISSIONS_ENABLED', true),

    /**
     * Apply the following permission
     */
    'permission' => env('MAKE_PERMISSIONS', '600'),

    /**
     * Ignore commands
     */
    'ignore' => [],
];

$ php artisan vendor:publish --provider="romanzipp\MakeFilePermissions\Providers\MakeFilePermissionsProvider"