{"id":19876211,"url":"https://github.com/miladimos/laravel-filemanager","last_synced_at":"2025-05-02T11:32:16.526Z","repository":{"id":62528783,"uuid":"315028952","full_name":"miladimos/laravel-filemanager","owner":"miladimos","description":"Advanced laravel file management system (Under Development)","archived":false,"fork":false,"pushed_at":"2023-06-30T16:05:50.000Z","size":376,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-07T01:13:23.225Z","etag":null,"topics":["file-manager","filemanager","filesystem","laravel","laravel-file-manager","laravel-file-upload","laravel-filemanager","laravel-filesystem","laravel-framework","laravel-helpers","laravel-package","laravel-storage","laravel-uploader","php","storage","uploader"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/miladimos.png","metadata":{"files":{"readme":"README-en.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"custom":["https://idpay.ir/laravelir"]}},"created_at":"2020-11-22T12:11:11.000Z","updated_at":"2024-08-08T23:55:37.000Z","dependencies_parsed_at":"2024-11-12T16:36:30.274Z","dependency_job_id":"eb5024c6-8e3e-4ecc-8b6f-bed9506b2db1","html_url":"https://github.com/miladimos/laravel-filemanager","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miladimos%2Flaravel-filemanager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miladimos%2Flaravel-filemanager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miladimos%2Flaravel-filemanager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miladimos%2Flaravel-filemanager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/miladimos","download_url":"https://codeload.github.com/miladimos/laravel-filemanager/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252030262,"owners_count":21683317,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["file-manager","filemanager","filesystem","laravel","laravel-file-manager","laravel-file-upload","laravel-filemanager","laravel-filesystem","laravel-framework","laravel-helpers","laravel-package","laravel-storage","laravel-uploader","php","storage","uploader"],"created_at":"2024-11-12T16:31:19.414Z","updated_at":"2025-05-02T11:32:15.912Z","avatar_url":"https://github.com/miladimos.png","language":"PHP","funding_links":["https://idpay.ir/laravelir"],"categories":[],"sub_categories":[],"readme":"- [![Starts](https://img.shields.io/github/stars/miladimos/laravel-filemanager?style=flat\u0026logo=github)](https://github.com/miladimos/laravel-filemanager/forks)\n- [![Forks](https://img.shields.io/github/forks/miladimos/laravel-filemanager?style=flat\u0026logo=github)](https://github.com/miladimos/laravel-filemanager/stargazers)\n\n- [فارسی](README.md)\n\n\n# laravel-file-uploads\n  A package for convenient way to upload files to the different storages\n\n### Installation\n\n1. Run the command below to add this package:\n```\ncomposer require miladimos/laravel-filemanager\n```\n\n2. Open your config/app.php and add the following to the providers array:\n```php\nMiladimos\\FileManager\\Providers\\FileManagerServiceProvider::class\n```\n\n3. Run the command below to install:\n```\nphp artisan filemanager:install\n```\n\n\n### Configuration\nGo to the file\n\n```php\nconfig/file_uploads.php;\n```\n\nThere you have an ability to set:\n\n1. default storage to upload file (default is: local)\n2. default image quality (default is: 100)\n3. default folder to put your uploads (default is: public/user-uploads)\n\n### Usage\nTo upload file:\n\n```\npublic function store(Request $request)\n{   \n    // This will upload your file to the default folder of selected in config storage\n    Uploader::uploadFile($request-\u003efile('some_file'));\n    \n    // This will upload your file to the given as second parameter path of default storage\n    Uploader::uploadFile($request-\u003efile('some_file'), 'path/to/upload');\n    \n    // This will upload your file to the given storage\n    Uploader::uploadFile($request-\u003efile('some_file'), 'path/to/upload', 'storage_name');\n    \n    // This will also resize image to the given width and height\n    Uploader::uploadFile($request-\u003efile('some_file'), 'path/to/upload', 'storage_name');\n}\n```\n\n\nTo upload base64 string of image:\n\n```php\npublic function store(Request $request)\n{   \n    // This will upload your file to the default folder of selected in config storage\n    Uploader::uploadBase64Image($request-\u003einput('image'));\n    \n    // This will upload your file to the given as second parameter path of default storage\n    Uploader::uploadFile($request-\u003einput('image'), 'path/to/upload');\n    \n    // This will upload your file to the given storage\n    Uploader::uploadFile($request-\u003einput('image'), 'path/to/upload', 'storage_name');\n    \n    // This will also resize image to the given width and height\n    Uploader::uploadFile($request-\u003einput('image'), 'path/to/upload', 'storage_name');\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiladimos%2Flaravel-filemanager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiladimos%2Flaravel-filemanager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiladimos%2Flaravel-filemanager/lists"}