Laravel-Make-File-Permissions

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

MIT License

Downloads
29
Stars
3
Committers
2

Laravel Make File Permissions

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' => [],
];
Package Rankings
Top 27.74% on Packagist.org
Badges
Extracted from project README
Latest Stable Version Total Downloads License
Related Projects