Comments (12)
have you tried zf 2.3.1 ? I'm using zf 2.3.1 and it's working
from zftool.
After it working for some time, I've received the same error. This is with the phar file and after using the composer install.
from zftool.
I've found the source of the issue and would like to commit a patch for it, but I've not contributed to the project before and am not sure how to get the tests to run. Odd question, yes. But I would have thought that all I'd need to do is to cd to the test directory and run phpunit. Is anything else required?
from zftool.
I usually fix typo/copyright in this module :D . I have run composer install
while clone and install via ZFTool directory, and realise that it's using ZF2 2.2.5. but I think, if you're using ZendSkeletonApplication, it's not be an issue ( usually, I used ZendDeveloperTools to just run php public/index.php
. About testing, yes, you can go to tests
directory and run phpunit
. you can follow : https://github.com/zendframework/zf2/blob/master/CONTRIBUTING.md it's quite similar.
from zftool.
Thanks Abdul.
Matt
—
Sent from Mailbox for iPhone
On Wed, Apr 30, 2014 at 8:30 PM, Abdul Malik Ikhsan
[email protected] wrote:
I usually fix typo/copyright in this module :D . I have run
composer install
while clone and install via ZFTool directory, and realise that it's using ZF2 2.2.5. but I think, if you're using ZendSkeletonApplication, it's not be an issue. About testing, yes, you can go totests
directory and runphpunit
. you can follow : https://github.com/zendframework/zf2/blob/master/CONTRIBUTING.md it's quite similar.Reply to this email directly or view it on GitHub:
#92 (comment)
from zftool.
I have find a solution, after install the zftool, change composer.json:
"require": {
"php": ">=5.3.3",
"zendframework/zendframework": "2.3.*"
}
then run 'composer install', and run 'php bin\create-phar', you can use zftool.phar to create your new project.
from zftool.
Hi all, when learning to work with composer and zftool , I came across 'PHP Fatal error: Class 'Zend\Log\ProcessorPluginManager' too. I managed to get all loaded 'zendframework/zftool' and all the other needed 'zendframework/-' classes, except one '-/zend-log' and I founded that out later on. Then I tried to compose it separately and of many zf2 versions still I did not get it composed at no way.
So 'and that is me, I looked for another way to get it solved and I did :)
First I had a close look of how that 'zendframework/-' was done, then I created it the same way for 'zend-log'.
Here is how.
- in 'zendframework' I created this new folders 'zend-log/Zend/'
2 in 'Zend' I pasted a copy of 'Log' from a 'ZF2-2.3.1' stack. - then I added a line ' 'Zend\Log' => array($vendorDir . '/zendframework/zend-log'),' in 'composer/autoload_namespaces.php'
Problem solved, all is working fine now!
Cheers
from zftool.
Hi Folks,
To resolve this issue, I added the following requirement in composer.json:
"zendframework/zend-log": ">=2.3.0"
Then just restart "composer install" (don't forget to remove composer.lock if file exists) and launch:
php bin\create-phar
Everything should work fine !
Bilel
from zftool.
I follow bilewebdev's method, but I execute "php composer.phar update" at last step instead.
from zftool.
To fix that I justf follow the instructions above (from @bilelwebdev and @leeivan ).
What I exactly did is following:
- Added
"zendframework/zend-log": ">=2.3.0"
tocomposer.json
. - Run
composer update
orphp composer.phar update
.
Thanks!
from zftool.
Same here. ZFTool was not working before I added "zendframework/zend-log": ">=2.3.0" to composer.json.
from zftool.
I fixed this in the last merge, there was missing dependencies with Zend\Log and Zend\I18n due to the last update on zend-mvc.
from zftool.
Related Issues (20)
- No namespace in module config file after creation
- zftool.phar: command not found HOT 3
- Can't install using composer HOT 7
- Create action doesn't work HOT 2
- Enable Travis-ci service HOT 2
- Enable phpcs
- Add documentation about json response in diagnostics
- Controller creation fails when directory is missing
- Error on display config list HOT 2
- create Action fails when using project path
- ZFTool keeps saying it has thrown an exception when no exception is listed. HOT 2
- Create classmap on Windows OS HOT 2
- Zend 3 compatible? HOT 8
- zf.php version not showing version
- unable to find download link of zftool.phar HOT 1
- fail run zftool after phar create HOT 3
- zftool config list seems to be executing MVC code...
- What is the license of this project? HOT 2
- Error install composer HOT 8
- Default loading page does not load Zend framework 3 .
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 zftool.