Comments (5)
Hi @akuzia, @tacman,
these are very good changes.
I think we should bump the version and make all possible improvements before tagging the 3.0.0, e.g. require php8.
I will check the pull requests and look for other possible breaking changes to bring in.
from php-mattermost-driver.
Hi @bradjones1, thanks for forcing me to think about this.
You're totally right, this package should follow a more SOLID approach.
I'm thinking of changing the constructor as follows
public function __construct(array $options[])
rather than
public function __construct(Psr\Container\ContainerInterface $container)
What do you think? Do you have any suggestions?
from php-mattermost-driver.
@gnello I've made a fork removing pimple and switching from Guzzle to any PSR7/17/18 compatible http client implementation. If you are ok with this changes I'm willing to continue working on that in next several weeks until changes are merged to the upstream.
from php-mattermost-driver.
both those changes sound great -- can you also update the documentation to use the Symfony HttpClient instead of guzzle? And if it's ready, submit a PR, since having guzzle and pimple just for this library seems a bit heavy. Thanks.
from php-mattermost-driver.
@tacman I've updated README & added #54
from php-mattermost-driver.
Related Issues (20)
- Join forces on MattermostAPI client? HOT 3
- Message with File Attached HOT 8
- " Class 'Pimple\Container' not found" HOT 1
- Can not upload file HOT 7
- Can't use search in channel ! HOT 6
- Methods to manage icons HOT 4
- Returns 500 HOT 4
- Laravel 7 support? HOT 2
- Preferences model are locked to single user because of model caching HOT 7
- Support limit_after and limit_before parameters in request to get posts around oldest unread HOT 3
- With https:// in the beginning 500 error and without nothing happens HOT 5
- Laravel 7 Support HOT 2
- guzzle 7.x support HOT 1
- Missing Endpoints in ReactionModel? HOT 2
- Endpoint for custom user status HOT 1
- Fatal error: Declaration of Illuminate HOT 8
- Guzzle HOT 2
- Add optional permanent=true to user and channel delete HOT 1
- Api function
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 php-mattermost-driver.