💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
composer require big-shark/sql-to-builder $sql = "SELECT a, b, c FROM some_table WHERE d > 5"; $builder = new \BigShark\SQLToBuilder\BuilderClass($sql); echo $builder->convert(); //"DB::table('some_table')->select('a', 'b', 'c')->where('d', '>', 5)->get()" ### 生成laravel的工具的地址 https://packagist.org/packages/rexshijaku/sql-to-laravel-builder