Showing 10 of 2,138 results.

Laravel 5: Creating Eloquent Models for Testing With factory

The factory function is used to create Eloquent models, and is generally used when testing an application to generate sample data.The signature of the factory function is: 1 function factory ( 2 $ class 3 ) ; 4 5 function factory ( 6 $ class , 7...

Laravel String Helper Function: equals

The equals method will determine if two strings are the same. The equals method implements a constant-time algorithm, meaning that the time it takes the method to complete does not necessarily increase as the size of the two inputs ( $knownString...

Page Rankings | Thoughts on a "Guidance Engine"

Ah, here we go. How would you rank content in such a guidance engine? Well, the content is already heavily curated. Because of that there really wouldn't be too much of a need for pages to obsessively compete with each other (they still would, but...

Laravel 5: Redirecting Users to the Previous Page With back

The back helper function is used to create a redirect response to the user's previous location. It defines two parameters which can be used to control the status code and headers of the response. An integer argument can be supplied for the $status...

Laravel Artisan Session Table: The session:table Command

The session:table command is used to create a new migration for the sessions database table. This table is required to use the database session driver. This command defines no parameters and can be used like so: 1 php artisan session:table The...

Creating Custom Forms | Meerkat Forms

It is also possible to create highly customized forms, and have complete control over the visual presentation of your comment form. While this is more involved, it will allow you to seamlessly integrate Meerkat forms into client project and...

Filter Search