Laravel

Laravel
It's been one year since my last post. lol, kinda busy with my work.  Today I will show you how to delete a record using jQuery Confirm. I'm using Laravel 5.3 for this project. This will look something like pretty cool. First of all...
Laravel has a cool way of filtering HTTP requests entering your application. The HTTP Middleware. You can find all your Middleware inside your 'AppHttpMiddleware' folder. Middleware is in charge of the default user authentication and verification filters. Like if a user...
Deleting records in Laravel is very easy. Since you can't delete records via GET method (of course you can). No, you should not since if you use GET method in deleting a record, user might delete your records in the...
This lesson covered some basic steps in displaying different flash message styles in your Laravel apps. First Step: Creating Flash Message in the Controller Session::flash("name_of_your_flash", "message_to_display") is a method used by Laravel to store your message. Add this inside any function in...
First of all, I know there are many ways to do this, and this might not be the best way to do it. So what we are going to do is to add a search box text field in the...
What is mass assignment? Will you use fillable or guarded? Mass assignment is a process of sending an array of data that will be saved to the specified model at once. In general, you don't need to save data on your model on one...
These are the steps on how to Soft Deletes records in your Laravel app. You can refer also the official docs at Soft Deleting. In case you didn't understand what soft deleting is, it is a process of deleting a record...
Just when you thought you just installed Laravel successfully and you get this error. No supported encrypter found. The cipher and / or key length are invalid.   Don't panic, this happens when you install Laravel in your console and it did...
There are several ways in adding 'active' navbar class to your Bootstrap navigation bar. This means that when you click to any of your navigation menu, the active state will also be on the page where you are on. I'll...
There is a cool feature from Laravel called Maintenance Mode that allows developer to simply take down the website and apply necessary updates and changes. You can invoke in the command prompt And your application will put into maintenance mode. Once you are done with...