command



How to install or upgrade to Composer v2

  • avatar
  • 24.3K Views
  • 14 Likes
  • 4 mins read
Preview post image

Composer is an application-level package manager for the PHP programming language that provides a standard format for managing dependencies of PHP software and required libraries. It manages them on a per-project basis, installing them in a directory (e.g. vendor) inside your project.

Install PHPStan and configure for Laravel application

  • avatar
  • 9.2K Views
  • 11 Likes
  • 3 mins read
Preview post image

Unlike compiled languages, in PHP if you make a mistake, the program will crash when the line of code with the mistake is executed. When testing a PHP application, whether manually or automatically, developers spend a lot of their time discovering mistakes that wouldn’t even compile in other languages, leaving less time for testing actual business logic.

Pagination in MongoDB: efficient retrieval and display of data

  • avatar
  • 1.3K Views
  • 2 Likes
  • 5 mins read
Preview post image

Pagination is a crucial aspect of modern web applications that deal with large datasets. When working with MongoDB, a popular NoSQL database, efficient pagination techniques become essential to retrieve and display data in a controlled manner. MongoDB provides various features and functions to achieve efficient pagination. In this article, we will examine these concepts, exploring how they can be used to implement pagination effectively in MongoDB.

 Join Our Monthly Newsletter

Get the latest news and popular articles to your inbox every month

We never send SPAM nor unsolicited emails

MongoDB advanced query operators

  • avatar
  • 804 Views
  • 9 mins read
Preview post image

MongoDB is a popular NoSQL database known for its flexibility and scalability. In MongoDB, query operators are used to perform specific operations within a query, allowing you to filter and retrieve documents based on various conditions. These operators provide powerful capabilities for querying and manipulating data. In this article, we will explore some of the most important MongoDB operators, focusing on both read and update operations.

Sync local and remote directories with Rsync

  • avatar
  • 817 Views
  • 1 Like
  • 4 mins read
Preview post image

Rsync is a very flexible network-enabled syncing tool. Due to its ubiquity and its popularity as a tool for system scripts, it's included on most Linux distributions by default. It efficiently copies and sync files to or from a remote system. It’s faster than scp because rsync uses a remote-update protocol which allows transferring just the differences between two sets of files. The first time, it copies the whole content of a file or a directory from source to destination but from next time, it copies only the changed blocks and bytes to the destination.

Secure File Transfers with SCP

  • avatar
  • 502 Views
  • 1 Like
  • 3 mins read
Preview post image

Secure Copy Protocol, also known as SCP, stands out as a robust yet straightforward solution for securely transferring files between local and remote systems. Let's explore this essential command and understand how it simplifies your file transfer needs without unnecessary complexity.

At its core, SCP is a command-line utility crafted to securely copy files and directories between hosts over an SSH (Secure Shell) connection. What makes SCP particularly handy is its simplicity. With just a single command, you can swiftly move files from your local machine to a remote server or vice versa, all while ensuring the confidentiality and integrity of your data.

Comprehensive cheatsheet of Docker commands

  • avatar
  • 692 Views
  • 3 Likes
  • 7 mins read
Preview post image

In this post, we examine various Docker commands and concepts that are frequently used to manage Docker containers in local development environment. We provide a detailed analysis of how these essential tools function and give integration examples. Whether you're a novice or an experienced Docker user, our post can offer valuable insights and tips for effectively managing Docker containers on your machine.

Getting started with MongoDB

  • avatar
  • 727 Views
  • 6 Likes
  • 11 mins read
Preview post image

MongoDB is a popular open source and document oriented database system. It belongs to a family of databases called NoSQL, which is different from the traditional table based SQL databases. It makes use of collections, each having multiple documents, and allows the user to store data in a non relational format. Data is stored in flexible, JSON-like documents where fields can vary from document to document. That's the reason for calling it schemaless database.

How to install and configure Redis on Ubuntu

  • avatar
  • 1.2K Views
  • 7 mins read
Preview post image

Redis is an open-source in-memory key-value data store. It can be used as a database, cache, message broker and supports various data structures such as Strings, Hashes, Lists, Sets, etc... Apart from its performance and flexibility, Redis stands out with its wide language support, high availability, and automatic partitioning.

MongoDB backup: import and export data

  • avatar
  • 474 Views
  • 4 mins read
Preview post image

In today's data-driven world, safeguarding critical information is paramount. As databases grow in complexity and size, it becomes increasingly crucial to have a reliable backup and restore strategy in place. MongoDB, a popular NoSQL database, offers powerful export and import commands that simplify the process of creating backups and restoring data. In this article, we will explore how these commands can be used as efficient backup and restore actions, ensuring the safety and integrity of your valuable data.