A package has been developed for calculating analytic expressions for forces and torques onto an arbitrarily shaped convex tracer (aerosol) particle small compared to the mean free path of the surrounding nonequilibrium gas. The package Phoretic allows to compute analytical (and also numerical) expressions for forces and torques stemming from elastic and diffusive scattering processes parameterized by an accommodation coefficient. The method is based on calculating half-sphere integral tensors of arbitrary rank and on integrating forces and torques acting on surface elements. The surrounding gas is completely specified by an arbitrarily shaped velocity distribution function. Accordingly, Phoretic requires two inputs: A particle (surface) geometry and a velocity distribution function. For example, the particle may be a cylinder with flat end caps, and the distribution function the one of Maxwell (isotropic) or Grad (13th moment approximation). The package reproduces analytic results for spheres which were available in the literature, and the ones for other geometries (cylinders, cuboids, ellipsoids) which were, however, only partially available (some works considered only elastic collisions, others temperature, or pressure, or only velocity gradients, etc.). In addition, Phoretic takes into account angular velocities which have been usually neglected and become relevant for non-spherical particles. The package is geared towards the implementation of dynamical equations for aerosol particles suspended in dilute or semidilute gases and as such helps to obtain concentration profiles and mobilities of aerosol particles depending on their shape (distribution) and environmental conditions.