PHP code example of cosninix / sin
1. Go to this page and download the library: Download cosninix/sin library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
cosninix / sin example snippets
echo app('Sin')->lang("nl::via de serviceprovider|en::via the serviceprovider");
echo Sin::lang("nl::via de Sin facade deze keer|en::through the Sin facade this time");
// three underscores
echo ___("nl::via de helper function|en::works with the helper function");