A dry-fire magazine for use with a firearm is disclosed. The dry-fire magazine includes a controller and a plurality of sensors connected to the controller. The dry-fire magazine uses the plurality of sensors for collecting data associated with one or more operations of the firearm and thereafter the data is transmitted, using a communication unit embedded within the controller, to an end-point device such as a smartphone.