Skip to main content

Commands Reference

Grpcavel provides several Artisan commands to manage your gRPC environment.

CommandDescription
php artisan grpc:installBootstrap directories and configuration files.
php artisan grpc:syncInspect PHP classes, generate .proto files, and compile stubs.
php artisan grpc:compileManually compile existing .proto files.
php artisan grpc:cacheCreate a service discovery cache for production.
php artisan grpc:clearRemove the service discovery cache.
php artisan grpc:startStart the RoadRunner gRPC server.
php artisan grpc:make-serviceScaffold a new service class.
php artisan grpc:make-clientCreate a client wrapper for service-to-service communication.
php artisan grpc:make-requestCreate a new request DTO.
php artisan grpc:make-responseCreate a new response DTO.