-
Notifications
You must be signed in to change notification settings - Fork 85
PHP Transformations and effects #88
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
Conversation
definitely on the right track! as far as how to run this, im not totally sure, im not quite familiar with the PHP front, but i did find this: https://www.php.net/manual/en/features.commandline.usage.php#example-474 if i update the code to:
I'm able to run it, however... I then get this error: that's even after running here are two things i would also recommend before wrapping up:
|
you might need to make the script executable through composer scripts, apparently a property in the composer config file |
Would that help me find the missing class? I dont get my the compose isnt pulling in the class. I think my issue is php composer.phar install doesnt work. Says could not open composer.phar I am guessing ill need a cloud configuration and that it will take some time to provision because I created one and tried to run the php file and says to please set up the environment even though I am using the config from the portal |
@sccalabr im not too sure. i'm not familiar with php / composer and how that works, was just trying to google around a little bit to help i wouldn't expect to need to do any cloud configuring or provisioning i would try to google running composer scripts with dependencies. id be surprised if you can't find examples |
Will do. I'll look more into it this weekend. |
I guess assign it back to me and ill take a look later tonight |
awesome, no rush! |
This is an example of how to use transofrormations and effects in php. The example generates an image like https://res.cloudinary.com/dozm52czt/image/upload/c_fill,h_600,w_600/a_180/e_sepia/e_cartoonify/v1/samples/smile.jpg?_a=BAAAROBs Resolves cloudinary-community#88
@sccalabr is attempting to deploy a commit to the Cloudinary DevX Team on Vercel. A member of the Team first needs to authorize it. |
@colbyfayock I think I got it working! |
@all-contributors please add @sccalabr for code |
I've put up a pull request to add @sccalabr! 🎉 |
@sccalabr congrats on the merged PR! since it was merged during Hacktoberfest, you're eligible for some free swag. Please email [email protected] with your Github username and a link to this PR where we'll follow up with you there. https://cloudinary.com/blog/hacktoberfest-celebrate-open-source-sdks |
This is an example of how to use transofrormations and effects in php. The
example generates an image like https://res.cloudinary.com/dozm52czt/image/upload/c_fill,h_600,w_600/a_180/e_sepia/e_cartoonify/v1/samples/smile.jpg?_a=BAAAROBs
Resolves #88