Skip to content

romanzipp/Laravel-Make-File-Permissions

Repository files navigation

Laravel Make File Permissions

Latest Stable Version Total Downloads License

This package automatically applies unix file permissions after the artisan make: command.

Installation

composer require --dev romanzipp/laravel-make-file-permissions

If you use Laravel 5.5+ you are already done, otherwise continue.

romanzipp\MakeFilePermissions\Providers\MakeFilePermissionsProvider::class,

Add Service Provider to your app.php configuration file.

Configuration

Copy configuration to config folder:

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

Config File

return [

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

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

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

About

This package automatically applies unix file permissions after the 'artisan make:' command.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages