Hello, I am new into github and I want to clone or install free open source github repository on my computer using composer and then upload it into my infinity site.
composer require matthiasmullie/minify
Above is the composer github command. I already tried several times, but still unlucky to get. This is what I get from command:
Root package 'matthiasmullie/minify' cannot require itself in its composer.json
I have installed xamp, php, composer plus the composer.json that I get from the repository folders. I really need help on how to get or install the clone so I could start my website. Thank you!!
I recommend going to Netlify.com and signing up for an account there if you want to use a github repository. I’m not sure if you can use a github repository on this hosting service.
I would expect that you can use this project by cloning it manually OR by adding it as a composer dependency to your own project. You can’t do both.
@anon95130038 As far as I know, Netlify only does static site hosting. While yes, it can run websites from GitHub, it only works with static websites (or generators). Netlify doesn’t run any dynamic programming languages, like PHP, so it can’t run every GitHub project.
I want to have a site like this minifier.org, where users can minify their css code, I want to have something like that on my website, for example, mysite.ml/minifier or minifier.mysite.ml.
The dependency is open source code and I want to make a clone for it or you know get the php code or script then upload/use it into my site. But I really don’t know on how to make it, you know, upload the script for my site then to work. Can you help me with that? Thanks, hope you would understand, hoping for some help. Thank you!!