CodeIgniter Forums
How to check codeigniter version in documentation - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=31)
+--- Thread: How to check codeigniter version in documentation (/showthread.php?tid=81199)

Pages: 1 2


How to check codeigniter version in documentation - Acuru - 02-03-2022

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)


RE: How to check codeigniter version in documentation - titounnes - 02-03-2022

write
<?= CodeIgniter\CodeIgniter::CI_VRRSION ?>


RE: How to check codeigniter version in documentation - Acuru - 02-03-2022

@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.


RE: How to check codeigniter version in documentation - kenjis - 02-03-2022

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

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



RE: How to check codeigniter version in documentation - InsiteFX - 02-04-2022

The change log will show the version on top of the list.


RE: How to check codeigniter version in documentation - murugappan - 02-20-2022

(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??


RE: How to check codeigniter version in documentation - kenjis - 02-20-2022

Thank you for your comment.

PR means "Pull Request". It is a word in GitHub.
See
https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/README.md
https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests

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



RE: How to check codeigniter version in documentation - MGatner - 02-21-2022

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

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


RE: How to check codeigniter version in documentation - kenjis - 02-21-2022

@Acuru How about this?
https://codeigniter4.github.io/CodeIgniter4/installation/upgrading.html


RE: How to check codeigniter version in documentation - pikato - 02-21-2022

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.