# programmingwithajay.com ## Posts - [Login Register with Bootstrap Auth in Laravel](https://programmingwithajay.com/laravel/login-register-with-bootstrap-auth-in-laravel/): Login and Registration with Laravel are very simple, easy, and quick. You can make it within five minutes. Laravel provides you pre-build functionality for login and registration of new users. You just need to follow the following steps. Step 1: Install Laravel Create a new Laravel project using composer, if you do have not any project exists. You can use the following command to create a new Laravel project. composer create-project --prefer-dist laravel/laravel project-name Step 2: Create database and configurations Create a new database with any name and configure it in the .env file. You should add database configurations in […] - [How to create Middleware in Laravel](https://programmingwithajay.com/laravel/how-to-create-middleware-in-laravel/): Middleware is a mechanism that allows you to filter HTTP requests entering your application. It sits between your application and the user’s browser, intercepting incoming requests and performing actions before passing the request on to the application’s routes or controllers. Middleware is useful for tasks such as authentication, logging, and input validation. Laravel provides several middlewares out of the box, such as the auth middleware for authentication, the csrf middleware for protecting against cross-site request forgery attacks, and the throttle middleware for rate limiting. To use a middleware, you can either apply it to individual routes in your routes/web.php file, […] - [Routing in Laravel](https://programmingwithajay.com/laravel/routing-in-laravel/): In Laravel, you can define routes using the Route facade, which provides a simple and expressive way to define HTTP routes. Following are some examples of routes how to create routes in Laravel. Route is a URL pattern that maps to a specific controller action or function in your application. Laravel provides a powerful routing system that allows you to define routes for different HTTP methods like GET, POST, PUT, DELETE, etc. Laravel has two types of route files one is web.php and the second is api.php. web.php defined the web or HTTP route and api.php defined the API calling […] - [How to send ajax request from WordPress using POST method](https://programmingwithajay.com/wordpress/how-to-send-ajax-request-from-wordpress-using-post-method/): Ajax is a way to get, post, update, and delete data without refreshing the page. WordPress ajax is different as compared to the normal ajax in PHP. The WordPress ajax, URL is the same for all ajax requests but there is one param action and it is unique for every request. Also, the action param can define which function call on an ajax request. Step 1: template file Following code for the template file code. In this code, we have created a form with name and age fields and we will post this form data using ajax. Also, after posting […] - [How to install WordPress](https://programmingwithajay.com/wordpress/how-to-install-wordpress/): WordPress is an easy job to install and run. It takes just 5 minutes to install and run the basic setup of your website. WordPress gives you lots of prebuild features like you can set any pre-build theme, or plugin as per your requirements. Also, there are some ways to customize WordPress as well. WordPress recommends itself to run PHP 7.4 at least. PHP 7.4 supported WordPress version 5.3 to 6.1 (latest). You can check the supported version list on the official documentation of WordPress.  PHP Compatibility and WordPress Versions The following steps are for localhost in case you are installing […] - [How to send email with HTML template using gmail SMTP in Laravel 8](https://programmingwithajay.com/laravel/how-to-send-email-with-html-template-using-gmail-smtp-in-laravel-8/): In this post, I will let you know how to send email in laravel using Gmail SMTP in simple and easy steps. Laravel 8 provides several ways to send an email and you can use any email service provider. First of all, you need to install laravel and after that need to follow the following steps. Step 1: .env Configuration Set up the SMTP configuration in your .env file and you can find out the .env file in the root directory of the project. You can use your Gmail login email and password in MAIL_USERNAME, MAIL_PASSWORD but if you want […] - [How to install Laravel 7, 8, 9 by composer](https://programmingwithajay.com/laravel/how-to-install-laravel-7-8-9-by-composer/): Server Requirement: The Laravel framework has a few system requirements. If you are installing laravel 7. If you are trying to install Laravel by composer then it will automatically pick the laravel version according to your PHP version. But you can specify the version while installing it using composer. PHP >= 7.2.5 BCMath PHP Extension Ctype PHP Extension Fileinfo PHP extension JSON PHP Extension Mbstring PHP Extension OpenSSL PHP Extension PDO PHP Extension Tokenizer PHP Extension XML PHP Extension Step 1: Visit the following URL and download composer to install it on your system. https://getcomposer.org/download/ Note: In case, the composer […] ## Pages - [Home Page](https://programmingwithajay.com/) - [About Us](https://programmingwithajay.com/about-us/): Welcome to the website programmingwithajay.com. programmingwithajay.com help beginner and experienced programmers who want to start a career in web development or learn web development technologies or languages. My name is Ajay Kumar and I am a Web Developer. I have five-plus years of working experience in web development. I have worked with several MVC and CMS in PHP and some other technologies. Please have a look at my articles and give me your feedback and reviews and ask queries if you have any. Your feedback and reviews both are important to me. I am offering you code and examples with […] - [Contact Us](https://programmingwithajay.com/contact-us/) - [Privacy Policy](https://programmingwithajay.com/privacy-policy/): Privacy Policy for programmingwithajay At programmingwithajay, accessible from https://programmingwithajay.com, one of our main priorities is the privacy of our visitors. This Privacy Policy document contains types of information that is collected and recorded by programmingwithajay and how we use it. If you have additional questions or require more information about our Privacy Policy, do not hesitate to contact us. This Privacy Policy applies only to our online activities and is valid for visitors to our website with regards to the information that they shared and/or collect in programmingwithajay. This policy is not applicable to any information collected offline or via […] - [Sample Page](https://programmingwithajay.com/sample-page/): This is an example page. It’s different from a blog post because it will stay in one place and will show up in your site navigation (in most themes). Most people start with an About page that introduces them to potential site visitors. It might say something like this: Hi there! I’m a bike messenger by day, aspiring actor by night, and this is my website. I live in Los Angeles, have a great dog named Jack, and I like piña coladas. (And gettin’ caught in the rain.) …or something like this: The XYZ Doohickey Company was founded in 1971, […] ## Optional - [Agent (MCP protocol)](websites-agents.hostinger.com/programmingwithajay.com/mcp) [comment]: # (Generated by Hostinger Tools Plugin)