evispa / nercurycodeigniterbundle Goto Github PK
View Code? Open in Web Editor NEWIntegrates CodeIgniter as a bundle in Symfony2
Integrates CodeIgniter as a bundle in Symfony2
$environment = $this->kernel->getEnvironment();
$environmentMap = array('dev' => 'development', 'test' => 'testing', 'prod' => 'production');
if(array_key_exists($environment, $environmentMap)) {
$environment = $environmentMap[$environment];
}
define('ENVIRONMENT', $environment);
How much would it be to update this project to support latest stable Symphony3 ? Here at work we have CI2 (!) for some applications and I really want to migrate away from it (as you may know, it is a PHP4 framework which is not really up-to-date).
It would be helpful to migrate from CI2 to S3 directly so no need to double-port (CI2->S2->S3).
And thank you anyway for your work.
Is this Bundle working and completed ?
I don't see any of the core Codigniter files. Do I have to include the CI files somewhere. If so, where ?
Thanks
Hi maybe it's a idea to handle any exceptions thrown in CiHelperService by using something like:
try {
ob_start();
/*
* --------------------------------------------------------------------
* LOAD THE BOOTSTRAP FILE
* --------------------------------------------------------------------
*
* And away we go...
*
*/
\ci_bootstrap($this->kernel);
$output = ob_get_clean();
} catch (\Exception $e) {
$output = ob_get_clean();
$handler = new \Symfony\Component\HttpKernel\Debug\ExceptionHandler();
return $handler->createResponse($e);
}
Tried to follow the readme.md file, I've configured everything but I'm getting the following when I try to use
$response = $this->get("ci")->getResponse($request);
in a controller, any ideas ?
It seems like the Symfony router kicks in before this bundles listener tries to resolve things and thus fails :(. Also the service needs to be made public. On 2.7 this is.
Hi,
Thank you for this !
Unfortunately, I'm getting a
Fatal error: Class 'Nercury\CodeIgniterBundle\NercuryCodeIgniterBundle' not found in /Applications/MAMP/htdocs/symfony/app/AppKernel.php on line 20
When running. Any idea ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.