Comments (10)
Yep, indeed. Will also meditate on what is the best way to include it :)
PR is always welcome!
from phrozn.
One way is to just get Exception stuff from github with package type zip.
{
"type": "package",
"package": {
"name": "pear/Pear_Exception",
"version": "dev-master",
"dist": {
"url": "https://github.com/pear/PEAR_Exception/archive/master.zip",
"type": "zip"
}
}
}
then Include require:
"pear/Pear_Exception": "dev-master"
All it needs to do is to be autoloaded correctly.
from phrozn.
Seems quite a good solution to me. Pls, feel free to file the pull request.
from phrozn.
It is Console_CommandLine bug. I'm currently fixing phrozn-related pear repositories and it will be enough just to have Console_CommandLine in Phrozn/composer.json. Not sure how long it will take until they'll accept all my PRs.
@farazdagi This would be temporary fix. I would suggest to wait until PEAR repos will be fixed and do not include this PR.
from phrozn.
@Pawka That's probably the best way to fix this.
from phrozn.
@Pawka @farrelley Agreed, let's wait and see when PEAR component is fixed.
from phrozn.
hey @farrelley, would you mind pasting your composer.json down here? wasn't able to get it working
I really wanted to try out phrozn but it's been I while since I last used PHP and composer is brand new to me :p
tks!
from phrozn.
@fgrehm - #68 (comment) I just added that. Just need to add in the autoloading to psr-0 section. That's the work around.
from phrozn.
@farralley tks for the answer but I wasn't able to get it working
here's what I tried:
https://gist.github.com/8f7c995b344a339dc250
from phrozn.
@fgrehm Add "pear/Pear_Exception": "dev-master"
part to required
instead of autoload
.
from phrozn.
Related Issues (20)
- -R/--regen flag doesn't work HOT 2
- Is PEAR supposed to be required? HOT 5
- Support for Scss HOT 4
- Phrozn installed with Composer still requires PEAR to be installed HOT 1
- Composer Autoloader will not load plugins from project Directory. HOT 4
- Sample site does not compile if src directory is not . HOT 1
- Cannot create directory if file exists and returns 0
- Can't run phr init HOT 1
- local server? HOT 2
- @variable@ not replaced when installed using composer HOT 2
- Blog-like functionality and related variables/values HOT 2
- Replace PEAR console libs with Symfony Console component
- default.twig in phrozn/skeleton/layouts links to Bootstrap no longer work HOT 2
- Jekyll Style Includes? HOT 1
- Sample site: css and js broken on nested pages
- Code block nukes white space
- Phrozn as library HOT 1
- Add dev dependencies to composer.json HOT 1
- Twig_Error_Syntax : The filter "raw" does not exist
- Broken links and deprecated link on phrozn.info
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phrozn.