Download the PHP
package frengky/yupload without Composer
On this page you can find all versions of the php package
frengky/yupload. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
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.
Laravel package for easy file uploads maintenance. It helps to maintain file upload on each of your model.
What this packages do?
Manages file uploads related to a model
Uploaded file are stored using Storage, no need path config, respecting your config/filesystem.php
Create extra database tables/fields is not required, thanks to dynamic upload_* mutator and accessor.
Store multiple files via uploads mutator and accessor
Any uploaded files are automatically maintained, its deleted and replaced on updates.
Installation
Install the package via Composer
Then publish the configuration files to your app/config
Finally, run migrations to create the uploads table
Applying on your model
For each of your model that have file uploads, use the HasUploads traits
The physical file will be stored using Storage to your desired disk.
It will using your model name (in lowercase) as path.
Storing uploaded file
Saving uploaded file via uploads and upload_* mutators
All upload_* prefixed attributes are virtual mutator, creating database fields for each upload type is not needed.
The uploads attribute are predefined mutator to store multiple files.
Accessing uploaded file
Acessing uploaded file via uploads and upload_* accessor
Update/replace uploaded file
The previous physical file will be automatically deleted on save()
Deleting uploaded file
If your model use SoftDeletes, then the uploaded file will be preserved, only deleted on forceDelete();
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 frengky/yupload contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.