Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moving to Slim4 #199

Closed
Awilum opened this issue Aug 1, 2019 · 3 comments
Closed

Moving to Slim4 #199

Awilum opened this issue Aug 1, 2019 · 3 comments

Comments

@Awilum
Copy link
Member

Awilum commented Aug 1, 2019

Moving to Slim4 slimphp/Slim#2769

Epic: #546

@Awilum
Copy link
Member Author

Awilum commented Dec 29, 2019

@Awilum Awilum modified the milestones: 0.9.7, 0.9.8 Feb 15, 2020
@Awilum Awilum modified the milestones: 0.9.8, 0.9.9 Mar 6, 2020
@Awilum Awilum removed this from the 0.9.9 milestone May 18, 2020
@Awilum Awilum changed the title Flextype Core: Moving to Slim4 Moving to Slim4 May 22, 2020
@contactjavas
Copy link

Moving to Slim 4 would be great!

@Awilum Awilum added this to the 2.0.0 milestone Aug 26, 2020
@Awilum Awilum modified the milestones: 2.0.0, 0.9.17 Jul 14, 2021
Awilum added a commit that referenced this issue Jul 28, 2021
Awilum added a commit that referenced this issue Jul 29, 2021
- remove helpers folder
- add all core helpers in the `/src/flextype/helpers.php`
- new helpers: app, container, entries, cache, session, emitter, logger, parsers, serializers, csrf.
- logic for `flextype` helper is changed, this helper returns only current Flextype Instance
Awilum added a commit that referenced this issue Jul 29, 2021
New Methods:

- `app` - Returns Flextype Application.
- `container` - Returns Flextype Application Container.

BREAKING CHANGES

`container` method only returns Flextype Application Container based on PHP-DI
documentation: https://php-di.org/doc/container.html
Awilum added a commit that referenced this issue Jul 29, 2021
Awilum added a commit that referenced this issue Jul 30, 2021
Awilum added a commit that referenced this issue Aug 1, 2021
Awilum added a commit that referenced this issue Aug 1, 2021
Awilum added a commit that referenced this issue Aug 1, 2021
@Awilum
Copy link
Member Author

Awilum commented Aug 1, 2021

Flextype successfully migrated to Slim4!
Branch 199-feature-moving-to-Slim4 successfully merged with dev branch. Further updates and fixes will be in the dev branch, especially for plugins. Plugins need to be retested and updated for Slim4.

@Awilum Awilum closed this as completed Aug 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants