Search code examples
phpruby-on-railsdjangocodeignitercodeigniter-2

Do we have console for codeigniter


I have been working on codeigniter recently and I am surprised that I didn't find anything relevant regarding codeigniter console. So basically I will like to know whether we have console in codeigniter just like we have in rails and django?


Solution

  • No, there is no console.

    The closest thing to a console that comes with CI is the profiler. It offers:

    benchmarks          Elapsed time of Benchmark points and total execution time
    config              CodeIgniter Config variables
    controller_info     The Controller class and method requested
    get                 Any GET data passed in the request
    http_headers        The HTTP headers for the current request
    memory_usage        Amount of memory consumed by the current request, in bytes
    post                Any POST data passed in the request
    queries             Listing of all database queries executed, including execution time
    uri_string          The URI of the current request
    query_toggle_count  The number of queries after which the query block will default to hidden.