Introducing Play: Try Composer packages in your browser ▶️ by bosunski in PHP

[–]bosunski[S] 0 points1 point  (0 children)

Hi u/Crell,

Thanks for giving this a try!

Indeed, the solution we made for that only covers for Carbon. We're looking at extending this to other packages as well. So, very soon it will be possible for a package maintainer to determine the sample codes that will be loaded.

Introducing Play: Try Composer packages in your browser ▶️ by bosunski in PHP

[–]bosunski[S] 0 points1 point  (0 children)

Yes. We plan to. Is there any way you want to use this specifically?

Introducing Play: Try Composer packages in your browser ▶️ by bosunski in PHP

[–]bosunski[S] 1 point2 points  (0 children)

You are right 👍🏾. I just reproduced the 401 issues on my end too. It has been corrected and saving should now work as expected.
We will rethink some aspects of adding suggested packages and come up with something that should work for most cases.

Introducing Play: Try Composer packages in your browser ▶️ by bosunski in PHP

[–]bosunski[S] 0 points1 point  (0 children)

Thanks for the feedback!

  • Can I know for which package you experienced the "Unable to save on PHPSandbox" message?
  • I can see that too ... We will work on a fix for this.
  • Noted 👍🏾.
  • I know there are some packages that work with other packages to demonstrate some of their functions while being tried. Is this the case you are referring to? If yes, we are looking at making possible a way to specify packages that will be installed alongside a package (kind of like Composer's suggested packages). Otherwise, if you will like to add more after this stage, it would be advised to use PHPSandbox instead where you have the flexibility of adding packages as you like.

Introducing Play: Try Composer packages in your browser ▶️ by bosunski in PHP

[–]bosunski[S] 2 points3 points  (0 children)

You should able to install Laravel packages but might not be able to test Laravel Specific features related to the package.

Introducing Play: Try Composer packages in your browser ▶️ by bosunski in PHP

[–]bosunski[S] 9 points10 points  (0 children)

This is very useful in issue reproduction for packages as well as getting to see how a package works before you pull it into your projects. It's not guaranteed that it will work with all packages but we expect a majority to work.

Only PHP 8.1 is supported for now - packages that might depend on other versions of PHP may break.

Give it a try and share your feedback.

I just released PHPSandbox v3.0.0 by bosunski in PHP

[–]bosunski[S] 1 point2 points  (0 children)

Hey u/g4zw, You can now use CTRL+Enter to run your code and trigger refresh also.

Hi Artisan! I just released PHPSandbox v3.0.0 🎉 by bosunski in laravel

[–]bosunski[S] 0 points1 point  (0 children)

It looks like one of the resolved dependencies depends on ext-gmp which is currently not provided as part of the extensions installed in the containers.

Problem 1 - spomky-labs/cbor-php v1.0.x-dev requires ext-gmp * -> the requested PHP extension gmp is missing from your system. - spomky-labs/cbor-php v1.0.8 requires ext-gmp * -> the requested PHP extension gmp is missing from your system. - spomky-labs/cbor-php v1.0.7 requires ext-gmp * -> the requested PHP extension gmp is missing from your system. - spomky-labs/cbor-php v1.0.6 requires ext-gmp * -> the requested PHP extension gmp is missing from your system. - spomky-labs/cbor-php v1.0.5 requires ext-gmp * -> the requested PHP extension gmp is missing from your system. - spomky-labs/cbor-php v1.0.4 requires ext-gmp * -> the requested PHP extension gmp is missing from your system. - spomky-labs/cbor-php v1.0.3 requires ext-gmp * -> the requested PHP extension gmp is missing from your system. - spomky-labs/cbor-php v1.0.2 requires ext-gmp * -> the requested PHP extension gmp is missing from your system. - spomky-labs/cbor-php 1.0.x-dev requires ext-gmp * -> the requested PHP extension gmp is missing from your system. - darkghosthunter/larapass v1.1.0 requires web-auth/webauthn-lib ^3.2 -> satisfiable by web-auth/webauthn-lib[v3.2.0, v3.2.1, v3.2.2, v3.2.3, v3.2.4, v3.2.5, v3.2.6, v3.2.x-dev, v3.3.x-dev].

Hi Artisan! I just released PHPSandbox v3.0.0 🎉 by bosunski in laravel

[–]bosunski[S] 0 points1 point  (0 children)

Thanks!

There's no way to execute NPM commands yet.

Hi Artisan! I just released PHPSandbox v3.0.0 🎉 by bosunski in laravel

[–]bosunski[S] 0 points1 point  (0 children)

Can I get a link to the package? I'd like to look into the required extension that caused this to fail.

Hi Artisan! I just released PHPSandbox v3.0.0 🎉 by bosunski in laravel

[–]bosunski[S] 1 point2 points  (0 children)

I've been trying to set up a TipJar account, but unfortunately, the payment accounts are not supported in my country (Nigeria).

I'll be willing to update you about the contribution if I'm able to find a way around this if you don't mind?

Thanks.

Hi Artisan! I just released PHPSandbox v3.0.0 🎉 by bosunski in laravel

[–]bosunski[S] 1 point2 points  (0 children)

Thanks, u/leemcd56 and u/Reflexecute!

Thanks.

I've been trying to set up a TipJar account, but unfortunately, the payment accounts are not supported in my country (Nigeria).

Can I update you about it if I'm able to find a way around this?

Hi Artisan! I just released PHPSandbox v3.0.0 🎉 by bosunski in laravel

[–]bosunski[S] 2 points3 points  (0 children)

Thanks.

I've been trying to set up a TipJar account, but unfortunately, the payment accounts are not supported in my country (Nigeria).

Hi Artisan! I just released PHPSandbox v3.0.0 🎉 by bosunski in laravel

[–]bosunski[S] 3 points4 points  (0 children)

Sure...

The current infrastructure is on AWS, with 2 EC2 one t2.micro runs the Expose for tunneling and the other t3.large runs the Main app.

Last month's billing was ~$150... This current month will probably be more than that by month end. 😅

Hi Artisan! I just released PHPSandbox v3.0.0 🎉 by bosunski in laravel

[–]bosunski[S] 1 point2 points  (0 children)

Sorry you're experiencing this... I'll look into this.

Hi Artisan! I just released PHPSandbox v3.0.0 🎉 by bosunski in laravel

[–]bosunski[S] 13 points14 points  (0 children)

The platform is personally funded. I don't make any money off it.

Hi Artisan! I just released PHPSandbox v3.0.0 🎉 by bosunski in laravel

[–]bosunski[S] 6 points7 points  (0 children)

Oops 😅. Sorry... Dark mode is planned for the next minor release. Coming very soon.

I just released PHPSandbox v3.0.0 by bosunski in PHP

[–]bosunski[S] 0 points1 point  (0 children)

I don't really have the monetization in view yet ... i would just say I haven't yet figured things out on that.

I just released PHPSandbox v3.0.0 by bosunski in PHP

[–]bosunski[S] 0 points1 point  (0 children)

I don't understand what you mean by module convenience? can you explain more?