Using Anonymous Functions in Laravel
I was using Laravel, the PHP framework for the first time for one of my web applications here and it (Laravel) is really awesome. Laravel uses one of the new (since PHP 5.3) feature that is anonymous...
View ArticleLaravel Helper Functions
Laravel is a clean and classy framework for PHP web development and I’m getting familiar with it and I’m really loving it. Well, Laravel has it’s nice documentation for everything but I didn’t find any...
View ArticleLaravel Custom Validation Rule
Laravel provides a number of powerful validation rules including custom validation rules. All of these validation rules are really very handy and easy to use, using these rules (for image validation)...
View ArticleLaravel 4 View Composer and Master layout
In Laravel 4 there is a very nice way to bind data automatically with a view using a View Composer. View composers are callbacks or class methods that are called when a view is created. If you have...
View ArticleExtend Input Class in Laravel – 4
There is no Input class in Laravel, instead it uses Request class for any Input::method() calls. Basically, we extend a class in OOP language to add some extra functionalities to... Read more →
View ArticleExtend Laravel Eloquent Collection Object
According to Laravel, all multi-result sets returned by Eloquent, either via the get method or a relationship, will return a collection object. This object implements the IteratorAggregate PHP...
View ArticleLaravel – Manually Invalidate A Validation
Laravel provides a nice extensible and easy validation class to validate user inputs but Sometimes we may need to forcefully invalidate a passed validation. For example, a few days ago... Read more →
View ArticleLaravel – Model Relationship to Itself
Laravel provides a nice and easy way to build model relationship using some methods like hasOne(), hasMany(), belongsTo() and belongsToMany() and each one of these methods are used for different......
View ArticleBootstrap 3 – One Delete Confirm Dialog For All
There is no need for a brief about twitter bootstrap, we all (web developers) know what is it and we also know the benefits for using the twitter bootstrap in... Read more →
View ArticleLaravel – Route Matched Event
In Laravel there is a nice way to listen for many events, built-in and custom events, simply using code like this: We can register event listeners. In Laravel documentation on... Read more →
View ArticleLaravel – Useful RenderSections Method In View
In Laravel PHP MVC Framework, to send content back to the browser one must use a return keyword from a controller with the rendered content, like: This is a very... Read more →
View ArticleLaravel – Using Repository Pattern
Laravel is one of the most popular PHP MVC frameworks and taking the Php community rapidly than any other frameworks probably couldn’t do and it’s because of a great combination... Read more →
View ArticleLaravel – Pass User Object To JavaScript As An Object
Often we may need to pass variables from server side to client for using it in a JavaScript file or in a global script. It’s possible to write JavaScript code... Read more →
View ArticleLaravel Tips – Automatic Input Filtering
Todays topic is about how to filter user inputs automatically to remove commas (thousand separator) before validating. Going to share the way I solved the problem. So, a few days... Read more →
View ArticleLaravel Tips – Update Config on Runtime Persistently
As we all know that Laravel has provided an elegant way to setup application’s configuration using Config class which uses local file system. Using this component we are able to... Read more →
View ArticleLaravel Tips – Generate Tablular Data With Actions
It’s a very common task in any web application to make a listing of models/records with actions related with them. Probably it’s not clear what I mean. Let’s see it... Read more →
View ArticleLaravel – 5.0 And Middlewares
In Laravel-5.0 we can now use Middlewares instead of filters such as before but Middlewares are not new and was available in Laravel-4 as well. In version-4 if we need... Read more →
View ArticleLaravel-5.0 And Routing
Well, Laravel version 5.0 has some major changes in it’s folder structure and it’s really better than before. The new structure separates the Http Layer (The delivery mechanism of a... Read more →
View ArticleLaravel – 5.0 ACL Using Middleware
Well, actually building an ACL (Access Control Layer) in Laravel is really very easy than using a third party package and I always prefer my own implementation. In Laravel -... Read more →
View ArticleLARAVEL – 5.1.X ACL USING MIDDLEWARE
It’s been quite a long time I’ve written an article. Last time in 1st January 2015, I’ve written an article about ACL using Laravel-5.0 and I had to write another... Read more →
View Article
More Pages to Explore .....