Download the PHP package laravelguru/laravel-filehandler without Composer

On this page you can find all versions of the php package laravelguru/laravel-filehandler. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-filehandler

Laravel Inertia React File Management Package

Latest Version on Packagist Total Downloads GitHub Actions

Overview

The Laravel Inertia React File Management package provides seamless file management capabilities for your Laravel applications using React and Inertia.js. It includes prebuilt file input components and popup file dialogs for easy file uploads, storage, browsing, and management.

Features

Installation

You can install the package via composer:

Register Service Provider

If you are using laravel 11 or update version you should add the service provider into bootstrap/providers.php:

Publishing Assets

Run the following commands to publish the package assets:

please know the use case before publishing the resources

Link up the Storage of the Laravel

Install shadcn/ui Components (only if predefined components are used)

Initialize the shadcn/ui components by following the official installation guide. Use the commands below to add the required components:

Setup

Run Migration

The service provider will automatically generate a migration for the file_repos table when the application boots. Run the migration using:

Usage

While views/components can be optional for API development, integrating them can enhance user experience. This package focuses on providing core API routes for index, show, store, update, and delete operations. If you're primarily handling file management, this package can serve as a solid foundation.

Description: Retrieves and returns a paginated list of files associated with the authenticated user within the 'documents' folder.

Description: Handles the uploading of new files. It receives the files from the request, processes the upload, and returns a JSON response indicating the success or failure of the operation.

Description: A private method that performs the actual upload of files to storage and updates the database within a transaction. It returns the uploaded files' data.

Description: Retrieves and returns the details of a specific file.

Description: Updates an existing file with new data. It processes the file modification and returns a JSON response indicating the success or failure of the operation.

Description: Deletes a specified file and returns a JSON response indicating the success or failure of the deletion operation.

Leverage pre-built components for efficient development.

This package offers ready-to-use file input and multiple file handling components built on top of Shadcn UI. Streamline your development process with pre-designed, customizable elements. Enjoy enhanced user experience and rapid prototyping.

FileInput

Handle Multiple Files

Handle Single File

Handle Show File

FileDialog

The store and update methods using the File Dialog for models function similarly to how you handle other string variables in Laravel. For detailed guidance, please refer to the Laravel Documentation.

Testing

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Laravel Package Boilerplate

This package was generated using the Laravel Package Boilerplate.


All versions of laravel-filehandler with dependencies

PHP Build Version
Package Version
Requires php Version ^7.3|~8.0.0|~8.1.0|~8.2.0|~8.3.0
inertiajs/inertia-laravel Version ^1.3.0
laravel/framework Version ^8.74|^9.0|^10.0|^11.0
illuminate/support Version ^10.0|^11.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package laravelguru/laravel-filehandler contains the following files

Loading the files please wait ....