Strategy for symfony assets component
Strategy for symfony assets component for get version from last modify file time.
$ composer require alexpts/symfony-asset-strategy-last-modify
$package = new Package(new LastModifyStrategy($assertDirPath));
$url = $package->getUrl('/jquery.js'); // /jquery.js?v=1472155706
With CDN
$package = new Package(new LastModifyStrategy($assertDirPath, 'cdn.host.org'));
$url = $package->getUrl('/jquery.js'); // //cdn.host.org/jquery.js?v=1472155706