RWOverdijk / AssetManager

AssetManager written for zf2. Managing assets for zend framework 2
BSD 2-Clause "Simplified" License
211 stars 83 forks source link

Create Seperate "Core" repository and package #205

Closed wshafer closed 7 years ago

wshafer commented 7 years ago

Would love to decouple this from zendframework/zend-http and instead move to PSR-7 requests/responses so it can also be beneficial to other frameworks like Expressive, Slim, etc in addition to ZF. Best solution I believe is to move the core files to it's own repository and composer package, that each framework wrapper can include.

Creating this issue based on our discussion in PR #196.

wshafer commented 7 years ago

Pieced together what I'm envisioning this split would look like and placing here for comments/suggestions/criticisms.

Main Library: RWOverdijk/AssetManager-Core Zend Framework Module: RWOverdijk/AssetManager Version 2 Expressive Module: wshafer/assetmanager-expressive

I have created a couple of pre-configured sandboxes for playing around with the different features in the Asset Manager and to validate everything is working as expected. Please feel free to take them out for a spin.

Zend Framework Zend Expressive

Note: In addition to adding PSR-7 I have also updated to PSR-4, updated PHPUnit to 5.7 (last version to support 5.6 which is ZF current supported PHP version), updated Assetic to latest version, and updated PHPCS to latest release.

Additional BC break as I have also removed the alias's from the configuration.

RWOverdijk commented 7 years ago

@wshafer I'd like to start off by saying thank you for all your efforts. It's appreciated! :)

I was thinking of moving the repositories to the org (spoonx). It's where everything is. This might be a good time to do that.

I'll take a look at this soon, I'm currently in the middle of something. Maybe @Ocramius also wants to take a look.

Ocramius commented 7 years ago

I'm unable to follow along with these changes ATM, but feel free to move the repos as long as you don't break download/clone links.

wshafer commented 7 years ago

Yea @Ocramius There's a lot of changes here. Since I was in these files anyway I decided to update other things. It was kind of a downward spiral. Let me see I can document what's changed a bit better.

Other BC breaks (just because) are the removal of the Service Manager alias's. These are not supported in other containers, plus this is clearly a new release so let's remove these while we can. It will need to be documented in a migration guide, or wiki, or something.

Hope that helps a bit.

wshafer commented 7 years ago

@RWOverdijk - Just wanted to check in with ya and see if you'd had any thoughts on how you'd like to proceed. Would be nice to know your thoughts on breaking this up into a couple of packages for reuse.

Thanks in advance, Westin

RWOverdijk commented 7 years ago

@wshafer I'm being an irresponsible repository owner. My apologies. I was busy with other things and just completely forgot about this.

Are you available on Gitter by any chance? I have some ideas to run by you regarding this approach. I think it'll be settled a lot quicker that way.

wshafer commented 7 years ago

V2 Core Dev Branch now located here: https://github.com/wshafer/assetmanager-core

Final V2 Core Dev Branch to be setup just prior to the V2 release.

RWOverdijk commented 7 years ago

@wshafer 👍