apitte
apitte copied to clipboard
Feedback on [email protected]
Apitte has been melted to single one package.
See more on https://github.com/contributte/contributte/issues/50.
How to test it?
{
"require": {
"contributte/apitte": "^0.9.0"
},
"prefer-stable": true,
"minimum-stability": "dev"
}
upgraded and it works
~Some commits (e.g. https://github.com/contributte/apitte-core/commit/8cdf154b05d355598e5deca25ad07aeb587e7f64 and https://github.com/contributte/apitte-core/commit/e114cfa747977972ceb77e059d474eb00b1edf76) are missing.~ Fixed.
When using middlewares, man must manually register middleware extension.
That information is missing in doc page of this package, one has to dig through apitte/middleware documentation, which I find a bit strange...
Thank you @khorsky.
@khorsky added, https://github.com/contributte/apitte/commit/0281c99b1e18890a1e5df6ad9dd47cab8a72aa12
Going through Contributte website´s search: Apitte sends you here: https://contributte.org/apitte/#global-layout
Get Started button leads here: https://contributte.org/packages/contributte/apitte-core/
And that page suggests installing just one package of the old divided version by composer require apitte/core
instead of composer require contributte/apitte
.
Searching for this issue when u don´t remember the exact composer string can be closely compared to Hell... Like almost everything within documentations on Contributte.org.
Contributte homepage highlighted apitte-skeleton is just the same. Composer has required old divided version.
Btw. I´m not sure which version added this, but why there has to be /api in the url? I had installed v0.6 and because I´m using it on subdomain api.domain.com, I had it just like this, api.domain.com/v1 and it worked. For some unknown reason, I´m unable to get it working with latest version without /api/v1, with completely redundant /api directory... I´m mean, I can live with it, but if it´s really the case, it should be written in documentation.
Thank you for your feedback @darkWolf-PR. I will try to update docs.
Closing here