In this short post, lets see how simple it is to vertically align content inside a DIV. Here is a nice little DIV in my bootstrap 5 with a little of example content. <div id="example-div" class="bg-info …
Blog Posts
In Laravel Validation if you mark some request parameters to be having validation other than required i.e. email, numeric, digits, url etc. Even if the field is not set as required Laravel will complain about the …
In this short post I will demonstrate how you can utilize an error directive in the Laravel blade component to show an error message just below the input field for which the validation failed. As …
We all want to provide our kids the best learning and joyful experience in their early development years. Kids are very fond of their toys and activities kits. If they absolutely love their toys, they can …
If you are working with Laravel and you encounter the following error while creating a new record in the database using Laravel Models Add [_token] to fillable property to allow mass assignment on [App\Models\Post]. A mass …
I have been working on Laravel from the past 6 years and only used Xdebug a couple of times. This was when I was fairly new to the project I am working on, and I had …
I work as a full stack web developer and have been working remotely since the last six years. If you are new to working remote and looking to organize your desk or workspace for better productivity, …
If you are working with a huge Laravel project, at some point you will have a bloated web.php or api.php file with lots of routes, Although this works fine, but you may want to organize your …
If you are working on an HTML form and if it needs to send request to the server on the change of select box option. You can do it using a simple javascript. <form action="/someURL"> <select …
In this tutorial we will go over on how we can implement a multi-language website in Laravel using Laravel Localization and also create a simple language switcher to change the default language. 1. Create New Laravel …