https://github.com/romanzipp/laravel-make-file-permissions
This package automatically applies unix file permissions after the 'artisan make:' command.
https://github.com/romanzipp/laravel-make-file-permissions
laravel php php7 showcase
Last synced: 4 months ago
JSON representation
This package automatically applies unix file permissions after the 'artisan make:' command.
- Host: GitHub
- URL: https://github.com/romanzipp/laravel-make-file-permissions
- Owner: romanzipp
- License: mit
- Created: 2018-06-19T13:05:39.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-02-15T12:40:30.000Z (over 2 years ago)
- Last Synced: 2025-02-28T07:49:28.326Z (4 months ago)
- Topics: laravel, php, php7, showcase
- Language: PHP
- Homepage: https://packagist.org/packages/romanzipp/laravel-make-file-permissions
- Size: 30.3 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
# Laravel Make File Permissions
[](https://packagist.org/packages/romanzipp/laravel-make-file-permissions)
[](https://packagist.org/packages/romanzipp/laravel-make-file-permissions)
[](https://packagist.org/packages/romanzipp/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.**
```php
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
```php
return [/**
* Enable the permission service
*/
'enabled' => env('MAKE_PERMISSIONS_ENABLED', true),/**
* Apply the following permission
*/
'permission' => env('MAKE_PERMISSIONS', '600'),/**
* Ignore commands
*/
'ignore' => [],
];
```