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

Release on PECL? #7

Open
francislavoie opened this issue Mar 12, 2019 · 9 comments · May be fixed by #76
Open

Release on PECL? #7

francislavoie opened this issue Mar 12, 2019 · 9 comments · May be fixed by #76
Assignees
Labels
📦 component-extension About the PHP extension written in C/C++ ❓ question Further information is requested

Comments

@francislavoie
Copy link

Once this is no longer experimental (starting to look good with #4 being done!!), should this be put on PECL for easy installation?

@Hywan
Copy link
Contributor

Hywan commented Mar 13, 2019

Thanks for asking.

My plan is to be compatible with https://github.com/FriendsOfPHP/pickle/ for various reasons:

  • It's the next generation installer for PHP extensions,
  • I've been working on it,
  • Composer may support or include Pickle at some point in the future.

Thoughts?

@Hywan Hywan self-assigned this Mar 13, 2019
@Hywan Hywan added ❓ question Further information is requested 📦 component-extension About the PHP extension written in C/C++ labels Mar 13, 2019
@francislavoie
Copy link
Author

No objections to that!

@xtuc
Copy link

xtuc commented Mar 13, 2019

How would the building works? Is there a way to provide pre-build binaries? I assume that building Rust won't work everywhere.

@Hywan
Copy link
Contributor

Hywan commented Mar 13, 2019

We can distribute pre-build static libraries for the Wasmer runtime, but it won't be easily possible to the extension itself. I think Pickle will solve some problem.

Right now, it's just a matter of:

$ just rust
$ just php

and done. I will focus on that part later :-).

@alexbowers
Copy link

@Hywan Is that a suitable way of distributing it for now?

The last release of Pickle was Feb 2015
https://github.com/FriendsOfPHP/pickle/releases and the most recent commit was Sep 06, 2017

and it appears that there are issues with PHP 7.0

@Hywan
Copy link
Contributor

Hywan commented Apr 15, 2019

Pickle is working. We just wait on some stuff on the Composer side. But it's working.

@Hywan
Copy link
Contributor

Hywan commented Jul 10, 2019

With #71, we are close to a possible release on PECL! Rust is no longer required to compile the extension.

@Hywan Hywan linked a pull request Aug 22, 2019 that will close this issue
@filips123
Copy link

@Hywan is there any update?

Also, Pickle is not updated since 2017 and releases since 2015. What does this mean? Is is discontinued (I hope not)? Or it it finished so it doesn't need new changes (then changes should be released as new version)? And when will Composer support it?

@Hywan
Copy link
Contributor

Hywan commented Sep 6, 2019

Publishing php-ext-wasm on PECL, or supporting Pickle is two different things (even if I'm one of the maintainers of both projects… it can confusing).

Publishing php-ext-wasm on PECL is already here, see http://pecl.php.net/wasm and #76. We've an issue with PECL though, since we distribute shared libraries within the package. To avoid shared libraires, the user must have the Rust toolchain installed, and PECL doesn't support Rust as a compilation toolchain. We are trying to find a solution here.

About Pickle, Composer etc. I'm not sure this issue is the correct place to discuss about that. See the Pickle or Composer repositories instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 component-extension About the PHP extension written in C/C++ ❓ question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants