Welcome Guest, Not a member yet? Register   Sign In
How to check codeigniter version in documentation
#1

I feel like it should be writed somewhere in documentation how you can check what version of CodeIgniter you are currently running. It is like fourth time that i search this information on outside pages (i have poor memory Wink)
Thread about my project that is using CodeIgniter:
Reply
#2

write
<?= CodeIgniter\CodeIgniter::CI_VRRSION ?>
Reply
#3

@titounnes: I know how to check it (found answer on other website), I am not asking how to do it, I am proposing adding this information into Codeigniter Documentation, so it could be easily found when someone is searching for that.
Thread about my project that is using CodeIgniter:
Reply
#4

(This post was last modified: 02-03-2022, 05:35 PM by kenjis.)

In where?
You could send a PR to improve the user guide.

If you can use command line:
Code:
$ php spark env
Reply
#5

The change log will show the version on top of the list.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#6

(This post was last modified: 02-20-2022, 03:24 PM by murugappan.)

(02-03-2022, 05:16 PM)kenjis Wrote: In where?
You could send a PR to improve the user guide.

If you can use command line:
Code:
$ php spark env

Its feels bad that documentation is so minimal and now asking people to send a PR to improve the user guide makes it worse. This is the main reason why CI may soon lose it user support and people will move to other alternatives. In fact, many of our ASEAN Tech members are suggesting that we should drop these. So sad CI is losing its market share.

Look at the documentation on Database Modelling. Its so hopeless that the only PR is will give you is "Rewrite the whole thing!". There seem to differences in the code for SQLite but nothing is mentioned there. The worse is the description "DBGroups". From my latest testing, it should not be DBGroup instead it should "DBName". DBGroupw would mean the few databases placed in a collection!

BTW, what is a PR??
Reply
#7

(This post was last modified: 02-20-2022, 05:32 PM by kenjis.)

Thank you for your comment.

PR means "Pull Request". It is a word in GitHub.
See
https://github.com/codeigniter4/CodeIgni.../README.md
https://docs.github.com/en/pull-requests...l-requests

When you use Composer to install CodeIgniter:
Code:
$ composer show | grep codeigniter
codeigniter4/framework            v4.1.8  The CodeIgniter framework v4
Reply
#8

The installation page has all the versions listed, most recent at the top: https://codeigniter.com/user_guide/insta...index.html

The website clearly states the current version, as do the Releases on all three repos and their Packagist endpoints.
Reply
#9

(This post was last modified: 02-21-2022, 09:03 PM by kenjis.)

@Acuru How about this?
https://codeigniter4.github.io/CodeIgnit...ading.html
Reply
#10

Here are some wishlist:
1. An Index of available commands in the documentation.
2. Example codes
3. Discussion on APIs
4. It would be great to have Myth-auth as a default for CI Package
5. Most importantly, lots of books need to come out (Database/API/Reference/Cookbook/Intro/Advance/implementation with VUEJS-SVELTE-REACTJS/etc...etc..)

Just a wishlist!!!
Thank you, CI Community.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB