
Suppose you find yourself in a situation where you need to disable or intercept a console command in Laravel. This tutorial will primarily focus on how to intercept the php artisan migrate command. We'll delve into the command method app/Console/Keel.php and explore how to prevent the migrate command from executing any actions. Inside the command method of app/Console/Keel.php In Laravel 11 use routes/console.php Intercept command You can intercept php artisan migrate and, instead, catch it an...
ادامه مطلب
I've documented my PhpStorm setup, what theme I use, plugins, and keybindings. Theme I use the New UI which is located at Appearance & Behaviour -> New UI Once tued on I use the Light Theme: I like to keep things minimal, in fact, I tu off the toolbars and status bars by toggling distraction-free mode Plugins .env file support Environment variables completion based on .env, Dockerfile and docker-compose.yml files. Go to declaration(in .env ...
ادامه مطلب
The script generated by the Feedback Form Wizard has been updated to improve compatibility with PHP 8 (eg, 8.0, 8.1, etc). Note: if you have generated your form and script after 1 January 2023, you already have this version (ver 3.2.0). ...
ادامه مطلب
When upgrading from an Intel mac to an Apple Silicone I noticed docker fails to run. I'm using Laravel Sail when Sail is installed or when a sail up command is attempted I get an error: docker: 'compose' is not a docker command The reason for this is a docker-compose is now a plugin. Docker needs docker-compose to be installed. Use brew to install docker-compose brew install docker-compose Once installed sail will function normally without any extra setup. بخوانید...
ادامه مطلب
This article on whether a domain name registrar is the same thing as a web host answers a question I was asked by a visitor....
ادامه مطلب
What if someone else owns the domain on which your website sits? For example, as it was in the case of one of my visitors, someone may have bought the domain for you, and retained ownership of it. Or perhaps your website is on a free web host, or a blog host, and you are using the web address given to you by them. This article deals with how you can solve that problem (or potential problem)....
ادامه مطلب
This article shows you how to insert a bullet point list (where each item on the list is marked with a solid black circle rather than numbered) into a web page using the BlueGriffon web editor....
ادامه مطلب
I was asked by a visitor why he couldn't dispense with a registrar and just make up any domain name he wanted. You may be surprised to hear that you can actually do that. But it won't do you any good....
ادامه مطلب
This article deals with how you can restore the Style Properties panel in the BlueGriffon web editor should you find it missing or not visible when you enable it....
ادامه مطلب
One of my visitors wanted his users to be able to choose a song from a list, and have it play in an audio player on his web page. This article provides the JavaScript and HTML code for the task....
ادامه مطلب
When a project grows the migrations folder can contain a lot of migration, ever wanted to desperate them into folders? tus out it's easy to so. All you need to do is tell Laravel where to read the migrations from. In your AppServiceProvider.php boot call, you can call $this->loadMigrationsFrom() and give it a path of all the folder locations: $migrationsPath = database_path('migrations'); $directories = glob($migrationsPath.'/*', GLOB_ONLYDIR); $paths = array_merge([$migra...
ادامه مطلب
What is ping submission in SEO? Ping Submission is the off page SEO process that tell search engine about newly created back link, blog post and website post. This process helps in crawling and indexing of your newly created backlink. It is very simple process, you have to submit your blog here and these sites start their work. Today, everyone runs in the race of making online presence as a form of website on the web. But, only establishing an online presence is not so enough these days, because...
ادامه مطلب
You may think designing a website is easy, but many businesses still make mistakes when building one. Those mistakes can reduce conversions and scare away leads Here I present to you eight website design mistakes you may make and how you can fix them. You Don’t Use The Right Templates Every website carries its own key function. For example, an e-commerce website aims to sell products, while a port...
ادامه مطلب
Content writing has become one of the most popular online activities of the decade, but it doesn’t mean that everyone is doing it successfully. It takes a lot of skills and writing prowess to design q...
ادامه مطلب
Instagram is the most popular social media platform which is made for photo and video sharing. Primarily, it is image-dedicated and one of the most popular photos sharing app. Instagram has quickly be...
ادامه مطلب
Creating profile on the social media platform is the greatest way to reach closer to your viewers and increase web traffic of website. Profile creation sites spread the magic of their amazing profile ...
ادامه مطلب
Press Release is the listed in top off page seo technique that use to distributing news about your business. Also it help when you relocate your business from one location to other, then you can write...
ادامه مطلب
Does a web host influences or impacts Search Engine Optimization? If the answer’s yes, then what are the things that you must know as an online business owner? A web hosting provider is a company that...
ادامه مطلب
Lots of people don’t know the benefits of review submission and review submission site. They never hear the terms of review and why people submit them. How review and review submission helps in Local ...
ادامه مطلب
If you start reading this article than may be want to know what Yext Listing is and why people Use it. Before we know more about Yext listing we need to know what is listing in SEO. Listing is a Mecha...
ادامه مطلب