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

Add a composer.json to enable support for PIE #82

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"name": "php-solr/php-solr",
"type": "php-ext",
"license": "PHP-3.01",
"description": "Apache Solr extension",
"require": {
"php": ">= 7.4,<8.5",
Copy link
Collaborator

@omars44 omars44 Dec 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'>= 8.1, <=8.4'

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@omars44 I agree that we should aim to sync with PHP on the versions. At least for this new pie stuff. Perhaps not remove support for old versions in code unless we need to.

I will rebase the packaging PR when this is merged.

"ext-json": "*",
"ext-curl": "*",
"ext-libxml": "*"
},
"php-ext": {
"extension-name": "solr",
"configure-options": [
{
"name": "enable-solr",
"description": "Enable solr support"
},
{
"name": "enable-solr-debug",
"description": "Compile with solr in verbose mode"
},
{
"name": "enable-coverage",
"description": "Enable developer code coverage information"
}
]
}
}
Loading