Closed kolarski closed 8 years ago
I think that not need, cuz Epiphany loads only classes that need for current application :)
Cool. BTW Using composer - files are still loaded only when needed, they are just downloaded in advance.
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.
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.
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