elastic / elasticsearch-php

Official PHP client for Elasticsearch.
https://www.elastic.co/guide/en/elasticsearch/client/php-api/current/index.html
MIT License
5.26k stars 965 forks source link

Switch to MIT license for 8.0 release #1180

Closed technige closed 2 years ago

technige commented 2 years ago

This issue signals our intention to switch to MIT licensing for the official Elasticsearch client for PHP, as of its 8.0 release.

The project is currently dual licensed under both Apache 2.0 and LGPL 2.1. This dual-licensing situation was introduced in 2014 to achieve license compatibility for GPL-licensed projects, following a discussion opened by Drupal.

On reviewing the project today, however, and looking at licensing across the wider PHP ecosystem, we have observed that we can further simplify the situation for users. By replacing these two licenses with the single MIT license (used across ~60% of PHP projects) we can achieve GPL-compatibility under a single, permissive license, and also align better with the PHP community at large.

ezimuel commented 2 years ago

First usage of MIT in elasticsearch-php v8.0.0-alpha.