💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
## Faker创建假数据 使用`\\Poppy\\Faker\\Factory::create('zh_CN')`来创建和初始化生成器, 这里保留之前英文版生成数据的规则 ~~~php <?php // use the factory to create a \Poppy\Faker\Generator instance $faker = \Poppy\Faker\Factory::create('zh_CN'); // generate data by accessing properties echo $faker->name; // 'Lucy Cechtelar'; echo $faker->address; // "426 Jordy Lodge // Cartwrightshire, SC 88120-6700" echo $faker->text; // Dolores sit sint laboriosam dolorem culpa et autem. Beatae nam sunt fugit // et sit et mollitia sed. // Fuga deserunt tempora facere magni omnis. Omnis quia temporibus laudantium // sit minima sint. ~~~