Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 2 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 (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-02-15T12:40:30.000Z (almost 2 years ago)
- Last Synced: 2024-10-10T10:12:59.227Z (3 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
[![Latest Stable Version](https://img.shields.io/packagist/v/romanzipp/laravel-make-file-permissions.svg?style=flat-square)](https://packagist.org/packages/romanzipp/laravel-make-file-permissions)
[![Total Downloads](https://img.shields.io/packagist/dt/romanzipp/laravel-make-file-permissions.svg?style=flat-square)](https://packagist.org/packages/romanzipp/laravel-make-file-permissions)
[![License](https://img.shields.io/packagist/l/romanzipp/laravel-make-file-permissions.svg?style=flat-square)](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' => [],
];
```