In traditional composting, large amounts of bulking agents must be added to reduce the moisture of pig manure, which increases the cost of composting and dilutes the N, P and K content in organic fertilizers. In this study, maggot treatment was used in composting instead of bulking agents. In experi