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

I added composer.json for easier installation. #85

Merged
merged 3 commits into from
Nov 18, 2015
Merged

I added composer.json for easier installation. #85

merged 3 commits into from
Nov 18, 2015

Conversation

kolarski
Copy link
Contributor

I added composer.json for easier installation trough composer (http://getcomposer.org/)
I forked the repo & added it there trough my account: https://packagist.org/packages/jmathai/epiphany
If you like the pull request, I'll take it down for you to link it with the main git hub repo.

If you don't see the need for adding it to packagist I will take it down anyways ;)

Greetings,
Alex

@tunnckoCore
Copy link

I think that not need, cuz Epiphany loads only classes that need for current application :)

@kolarski
Copy link
Contributor Author

Cool. BTW Using composer - files are still loaded only when needed, they are just downloaded in advance.

@jmathai
Copy link
Owner

jmathai commented Jan 20, 2014

Can you update the minimum PHP required version?

I think it makes sense to use this as the "source" and "cononical". I can add it but haven't actually submitted a composer package before so it might take a few days/weeks to get around to it.

@kolarski
Copy link
Contributor Author

Sure. I have updated the minimum PHP required version to 5.2.0+. In order to switch "source" and "canonical" URLs to this repo it should have the composer.json file first.

The instructions if anyone wants to use epiphany through composer are:
1 . Install composer: curl -s http://getcomposer.org/installer | php
2 . Create composer.json file in your project containing:

{
     "require": {
        "jmathai/epiphany": "dev-master"
     }
}

3 . php composer.phar install Install epiphany (fetch github repo)
4 . Include autoloader in your project require 'vendor/autoload.php';

If the project already use composer for other components you only need to add "jmathai/epiphany": "dev-master" and run php composer.phar update

If there are any updates in this repo, running php composer.phar update will update all files.
I have already 2 projects using epiphany with composer with this setup & it is working good.

jmathai added a commit that referenced this pull request Nov 18, 2015
I added composer.json for easier installation.
@jmathai jmathai merged commit 613ac21 into jmathai:master Nov 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants