You can use Asset::js() to add your javascript to an asset group, and then at the bottom of the template call Asset::render() on that group with 'true' as second parameter, indicating the group contains raw code that needs to be rendered inline.
I have views that have js code only applicable to them and unusable anywhere else, that's why I write javascript inline with the view. Having to put them into a separate file will only add to the clutter.
My workflow with Cake is to collect these inline javascript code via buffering (blocks), minify them, and render them at the bottom of the template.
Is it possible to add this feature with FuelPHP, or is there a workaround?