Giter Site home page Giter Site logo

maymeow / cakephp-fileupload Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 69 KB

๐Ÿ†™ File Upload plugin for CakePHP. This is mirror from my dev server. Package is available on packagist and on my dev serers's composer.

Home Page: https://wiki.0x0.sk/en/cake-php/FileUpload

License: MIT License

PHP 97.64% Dockerfile 2.36%
cakephp-plugin cakephp4 file-upload hacktoberfest

cakephp-fileupload's Issues

delete file and record both

Using the standard CakePHP code, the delete will handle the record in the MySQL table, but not the file. How do you do both? This should be in the documentation.

AWS s3 support

Implement ability to store and retrieve files from S3 compatible storage. For development purposes you can use Minio server

File : vendor/maymeow/file-upload/src/Storage/LocalStorageManager.php

File : vendor/maymeow/file-upload/src/Storage/LocalStorageManager.php

Function : move
$fileObject->moveTo($this->configuration->getConfig('storagePath') . $fileObject->getClientFilename());

this line is giving an error. if I print the path it is "storage/agent-registration-2.jpg"
As I said above my storage folder is parallel to src and webroot folder,

Originally posted by @TechnoPHP in #7 (comment)

Call to a member function getClientMediaType() on string

I followed the few instructions, and when I attempt to run the code, this is the error I get.

Perhaps what I am missing is something in the ./templates//add.php page that actually prompts the user for the file to upload. Can you add that code to the readme?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.