What is an artisan?

Full Stack Developer with a passion for building web applications. PHP, Node.js, Laravel, MySQL, MongoDB. Love collaborating & making a difference
Search for a command to run...

Full Stack Developer with a passion for building web applications. PHP, Node.js, Laravel, MySQL, MongoDB. Love collaborating & making a difference
No comments yet. Be the first to comment.
Add it to the boot method of the AppServiceProvider of the app to improve Laravel developmet experience. use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Facades\DB; class AppServiceProvider extends ServiceProvider { //... pub...

There is a plugin available for reactjs that one can use to add Calendly to Nextjs i.e., react-calendly. The problem is if you want to customize the button to open popup or modal then you need to have Calendly's pro plan for it. Here is the alternati...

After shifting to Ubuntu from Windows, I constantly look up for the alternatives of the tools that are available in Windows to enhance my arsenal in Linux. DbGate is the smartest SQL+noSQL database client. It works on Windows, Linux, MacOS and in web...

<div className="ratio ratio-16x9"> <video width="900" height="650" muted playsInline autoPlay loop> <source src="/images/test.mp4" type="video/mp4" /> </video> </div>

Creating middleware in Laravel is a common task that helps to filter HTTP requests entering your application. Middleware can perform various tasks such as authentication, logging, and modifying request/response objects. Step 1: Create Middleware You ...

Artisan is a command-line interface (CLI) included with the framework. Artisan provides a number of helpful commands for common tasks in the development process, such as migrating databases, seeding databases, generating boilerplate code for controllers and models, running jobs, and more.
Artisan is a powerful tool that simplifies various development tasks and automates repetitive processes. You can run Artisan commands using the terminal or command prompt. Some common Artisan commands include:
php artisan migrate: Runs pending migrations to create or update database tables.
php artisan make:controller MyController: Generates a new controller class.
php artisan make:model MyModel: Creates a new Eloquent model class.
php artisan db:seed: Seeds the database with test data.
php artisan serve: Starts a development server for your Laravel application.
php artisan make:job MyJob: Generates a new job class.
You can also create custom Artisan commands to extend its functionality based on your project's specific needs. Custom commands are useful for automating tasks unique to your application.
To view a list of all available Artisan commands, you can use the php artisan list command. Additionally, you can get more information about a specific command by using php artisan help command-name.