Skip to content

Instantly share code, notes, and snippets.

View codebryo's full-sized avatar
🚀
...

Roman 🦥 Kuba codebryo

🚀
...
View GitHub Profile
@codebryo
codebryo / mailConverter
Last active August 29, 2015 13:59
Quick way to replace mail-like addresses with real anchors.
/*
* mailConverter Script
* author: Roman Kuba, Codebryo
* web: codebryo.com
*
*/
// Lets pretend you want to have mail-address on your website but maybe want to protect it from being grabbed through bots
// This script turns a textelement into an useable link
// It removes spaces and replaces [at] with @ and [dot] with .
<?php namespace Codebryo\Aidkit\Commands;
use Illuminate\Console\Command;
use \File;
use Illuminate\Support\Pluralizer;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputArgument;
class GenerateCommand extends Command {