Laravel provides a convenient way to seed your database with fake data for testing purpose using a system of factories for your Eloquent models.
This is a demonstration of how to create a factory for a model that is using starting and ending dates
Does Shift upgrade everything?
------------------------------
Not everything.
Shift attempts to upgrade your Laravel project so you just need to run composer install. However, given the dynamic nature of PHP and the infinite customization of a
Here's a little bit about content negotiation.
An HTTP client, such as your browser, or perhaps jQuery's ajax method, can set an Accept header as part of an HTTP request.
Accept Header
-------------
This header is meant to tell th
Eloquent is a great thing – you can build your query step-by-step and then call get() method. But sometimes it gets a little tricky for more complicated queries – for example, if you have multiple AND-OR conditions and you want to put bra
Laravel provides more inbuilt method to get and set session data. it’s easy to working with session in laravel.A session variable is used to store some information or some data about user or anything you want to access on all pages of an applic
In these streams I'll be making an eCommerce site using Laravel and various packages.
Among the things we'll be using aside from Laravel include:
Laravel-uuid for non-enumerable product id's
The following steps are a summary of the instructions from https://github.com/backup-manager/laravel, specific to a Laravel 5.1 application that needs to back up a mySQL database to an AWS S3 bucket.
The backup-manager library uses mysqldump to pe
When writing an API, it’s always a good idea to give the API users an interactive visualization of your complete API. Things can get more awesome if the interactive tool can be used as a playground to test your API. Google’s OAuth 2.0 P
As soon as your web application gains any kind of traction you will become the target for brute force attacks.
Whilst an all out attack is very difficult to fight against, there are certain things you can you put in place to try to thwart brute fo
Clean out old code can be hard. When your application has numerous javascript widgets, blade templates and forms you can not easily say what routes are being used. But with just a few artisan commands we can easily make this happen.
Also this can