If you would include it in the FuelPHP code, absolutely. CI's license is not compatible with FuelPHP's MIT license.
What you do in your application is up to you, although I don't think CI's license allows you to copy and reuse it. But the logic is simple enough, reverse engineer it and write it yourself?