You’ve probably seen it or experienced at some point when registering for a site where you must pick a unique username or subdomain for account registration. However, this is can be tedious to implement in both frameworks and non-framework solutions. Luckily, Yii has validation rules that can be implemented easily [...]
Currently Browsing
Posts Tagged ‘ php ’
Get Name of Current Controller and Action in Yii
This is a simple one line piece of code to retrieve the name of the current controller, which is great for making more generic and useful code. $controllerName = Yii::app()->controller->id;
Facebook API Wrapper for PHP
I’ve created a simple API wrapper for the Facebook API written in PHP which has been made available for public download on Github. It is a simple class that will allow you to access all endpoints within the Facebook API. Download it here! For more info about Facebook (in case [...]
Songkick API Wrapper for PHP
I’ve created a simple API wrapper for the Songkick API written in PHP which has been made available for public download on Github. It is a simple class that will allow you to access all endpoints within the Songkick API. Download it here! For more info about Songkick please visit [...]
7Digital API Wrapper for PHP
I’ve created a simple API wrapper for the 7Digital API written in PHP which has been made available for public download on Github. It is a simple class that will allow you to access all endpoints within the 7Digital API. Download it here! For more info about 7Digital please visit [...]
Rapleaf API Wrapper for PHP
I’ve created a simple API wrapper for the Rapleaf API written in PHP which has been made available for public download on Github. It is a simple class that will allow you to access all endpoints within the Rapleaf API. Download it here! For more info about Rapleaf please visit [...]
LastFM API Wrapper for PHP
I’ve created a simple API wrapper for the LastFM API written in PHP which has been made available for public download on Github. It is a simple class that will allow you to access all endpoints within the LastFM API. Download it here! For more info about last.fm please visit [...]
Ticketfly API Wrapper for PHP
I’ve created a simple API wrapper for the Ticketfly API written in PHP which has been made available for public download on Github. It is a simple class that will allow you to access all endpoints within the Ticketfly API. Download it here! For more info about Ticketfly please visit [...]
ExactTarget SOAP API Wrapper
Although having the ability to wrap the entire SOAP API would be nice I found it nearly impossible. However, I’ve made a simplified version that allows one to act on ExactTarget objects. It allows for Create, Update, Delete, Retrieve, and Upsert of an object. Again, it is simple but it [...]
Add An Item To An ExactTarget Portfolio VIA SOAP API Using PHP
This piece of code allows one to add a Portfolio item to an ExactTarget account.