Visual Studio Code Extensions For React Developer
In this post, I will introduce Visual Studio Code Extensions that will make our work easier when developing with Reactjs. 1. Auto Rename Tag It is a extension that allows you to easily edit HTML open and close tags at
__invoke() Magic Method in PHP
There are various magic methods that will make our work easier in PHP. Magic methods begin with two underscores(__construct, __invoke). In this post, I will explain the __invoke() magic method and its usage, which is frequently used in PHP. __invoke()
Full Tutorial To Restrict or Block Ip Address To Prevent Hacking In Laravel
There may be malicious users using our applications on the web. These users may either annoy other visitors or want to crash the application using our forms (like SQL injection…). By detecting the ips of such visitors, we can block
How To Add Google Translate Pop-Up Feature in Chrome Browser
We come across texts and words in different languages in our research with the internet browser. Especially when reading English texts from wikipedia or blog sites, we come across words that we do not know that we have to look
Upload Multiple Files/Images with Drag and Drop Using DropzoneJS in Laravel
User experience is given great importance in web applications today. Filling out forms is a boring activity for users. That’s why it’s the application developer’s job to make it easy to fill out forms. In this post, I will explain
Printf, print, echo, sprintf, vprintf, vfprintf, vsprintf Statements in PHP
There are many ways to output string expressions in PHP. In this post, I will explain the expressions echo, print, printf, sprintf, vprintf, vfprintf, vsprintf, which seem to be similar to each other but have various differences, and how they
Magic Constants in PHP
PHP has predefined constants that come with various extensions. Knowing these constants allows us to use PHP more effectively. 1.) __LINE__ Returns the line number where it is used. 2.) __FILE__ Returns the file path and filename. 3.) __DIR__ Returns
Creating Custom Laravel Blade Directive in Laravel 8
Laravel, one of the most used web frameworks in the world and developed with PHP, comes with Blade template engine. The directives developed for specific purposes such as @section, @yield, @parent, @json, which come as predefined in Blade, provide great
Create PDF file from HTML using jsPDF Javascript Library on Client-Side
There may be situations where it is necessary to produce PDF files while developing a web application. It may need to be printed especially in cases such as reporting and invoicing. PDF file creation in the web application can be
PHP 8 New Features
Many new features have come to PHP over the years. With these new features, PHP has become a more powerful, modern, stable and faster language. In this post, I will explain the new features that come with PHP 8. PHP