Introduction Working with date and time could be pretty challenging. Luckily we have the Carbon package that makes this super easy! Carbon is a simple PHP API extension for DateTime. You can find more information about Carbon on their official websit...
Bobby Iliev
Introduction The Eloquent ORM included with Laravel provides you with an easy way of interacting with your database. This simplifies all CRUD (Create, read, update, and delete) operations and any other database queries. Laravel provides a lot of hand...
Bobby Iliev
How to Get the Base URL in Laravel?
PublishedIntroduction Hardcoding the domain name in your Blade files or in your controllers is not a good practice. If you ever decided to change your website's domain name, you would have to manually go over all of your files and change the references of you...
Bobby Iliev
Introduction The Eloquent ORM included with Laravel provides you with an easy way of interacting with your database. This simplifies all CRUD (Create, read, update, and delete) operations and any other database queries. Laravel provides a lot of hand...
Bobby Iliev
Introduction The Eloquent ORM included with Laravel provides you with an easy way of interacting with your database. This simplifies all CRUD (Create, read, update, and delete) operations and any other database queries. Laravel provides a lot of hand...
Bobby Iliev
Introduction The Blade templating engine has been a real game-changer for me. Blade makes it working with PHP and HTML a breeze. It allows you to use plain PHP code directly in your template. In most cases, you will pass your variables from your cont...
Bobby Iliev
How to Remove a Migration in Laravel?
PublishedIntroduction Adding columns or tables to your database manually could be an intimidating process and would more often than not lead to database inconsistencies between your different environments. The Laravel migrations allow you to basically version...
Bobby Iliev
Introduction The Eloquent ORM included with Laravel provides you with an easy way of interacting with your database. This simplifies all CRUD (Create, read, update, and delete) operations and any other database queries. As described in the official L...
Bobby Iliev
Introduction The Eloquent ORM included with Laravel provides you with an easy way of interacting with your database. This simplifies all CRUD (Create, read, update, and delete) operations and any other database queries. In some specific cases you mig...
Bobby Iliev
Introduction A fork bomb (also known as a rabbit virus) is a denial-of-service attack that consists of a process that constantly replicates itself to exhaust all available system resources, slowing down or crashing the system due to resource starvati...