Looking to hire Laravel developers? Try LaraJobs

laravel-make-file-permissions maintained by romanzipp

Description
Automatically apply unix file permissions after the 'artisan make:' command
Author
Last update
2026/10/11 11:30 (dev-master)
License
Links
Downloads
33

Comments
comments powered by Disqus

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' => [],
];