Comments (7)
I've started to work on a complete new library that is going to be similar to this one based on its terminology and functions but is going to be complete angostic to any framework. It will be easy to plug it into Cake with a behavior.
This allows me to drop all the legacy from this library and write a much better implementation from scratch. 😃 I'll leave another comment here when I publish the first code.
from cakephp-file-storage.
@nlangel
I have a same issue.
Thank you for your workaround!
composer require cakephp/cakephp:"4.0.6 as 4.x-dev
( I changed version 4.0.4 => 4.0.6 )
Dear committer,
I am waiting for production release targeted CakePHP 4.x.
from cakephp-file-storage.
If anyone of you would like to finish this PR I'll tag a 4.0 version #203. @skie doesn't respond anymore and at work we'll stick for some more time to Cake3.
I personally have move to Laravel, Cake has failed to go with the time for me and I genuinely think that Laravel is the better choice these days. So basically all my Cake packages get only attention when one of them is needed at work, one of my private projects that still depend on Cake needs it or if I'm getting paid to work on the libs. I'll continue to do open source but framework agnostic libs under the @Phauthentic org account. I might provide a framework agnostic solution in a few weeks that is also switching from Gaufrette to Flysystem for the underyling storage abstraction.
@ravage84 do you want to become the new maintainer of this lib?
from cakephp-file-storage.
This is my working example of the new lib. The File object implements jsonSerialize() and toArray() so you can turn that object into something that can be saved in a DB. The lib doesn't take care of saving the file data in a DB, it just abstracts storage and creation of manipulated versions. Wrapping it in a behavior should be easy. Pretty much stuffing the code from the gist into it and done. But I'm not going to provide that behavior.
https://gist.github.com/burzum/f9d011b00b04e4b76d1319d3f5753da6
I'm going to make the new repo public as soon as I'm happy with the coverage and docs.
from cakephp-file-storage.
OK, the new library is here. There is still some work to be done but it works for me. Feedback is highly appreciated to figure out of the API works for everyone as good as I itended it. For the use with Cake it should be easy to wrap a behavior around it that will take care of the actual save and delete.
https://github.com/Phauthentic/file-storage
from cakephp-file-storage.
Maybe I'm going to release a new version for Cake that will drop all the legacy and is going to be a big BC breaking change. The new libs are almost ready and we started to use it at work, integrating it into Cake but keeping it very loose coupled.
from cakephp-file-storage.
Refs #208
from cakephp-file-storage.
Related Issues (20)
- No versions of jpeg files HOT 4
- Keep a Change Log HOT 2
- Can't save file when creating related model HOT 2
- Upgrading from v1 to v2 HOT 7
- Tag current 2.0 version with next semver tag HOT 1
- How can one add to the list of supported adapter classes? HOT 5
- No image manipulation or correct url paths being returned HOT 2
- updating docs HOT 3
- Todo: Add migration guide from Cake 3 to 4 HOT 2
- updating docs
- Class could be found HOT 4
- Followed the guidelines in documentations server complaints 'Burzum\FileStorage\Event\LocalFileStorageListener' not found HOT 3
- Created a script to upload files to S3 - files uploaded but script throws error The listener `Burzum\FileStorage\Storage\Listener\LocalListener` doesn't allow the `\Gaufrette\Adapter\AwsS3` adapter class! Probably because it can't work with it HOT 4
- Version 4.0 (complete rewrite) HOT 3
- Antipattern showcase
- Link in docs is broken
- Issues with upload for 1:1 HOT 1
- Issues installing via composer HOT 8
- Looking for a new maintainer
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cakephp-file-storage.