fbarrento
fbarrento

Francisco Barrento

@fbarrento

5 Posts 204 Views

  • No matching results...
  • Searching...

/ 255

Poll Options

Laravel Cloud has an API

No official PHP SDK

So I'm building one: github.com/phpdevkits/laravel-cloud-sdk

image
The bet: Can the community ship a production-ready SDK before Laravel does? And if it's good enough, maybe it becomes *the* official one.

Foundation's done:
✅ Saloon-powered
✅ 100% coverage (PEST + PHPStan max)
✅ Framework agnostic
✅ PHP 8.4+ strict types

Need contributors to build: Applications, Deployments, Domains, Commands, WebSockets, etc.

Rules: 100% coverage, full types, clean architecture, document everything.

Trying to build something useful for the community.

Who's in? 😏

17

expect($author)
->toBeInstanceOf(Author::class)
->and($author->getId())->toBe($authorId)
->and($author->getName())->toBe('Francisco B.')
->and($author->getEmail())->toBe('francisco.b@example.com')
->and($author->getBio())->toBe('A passionate laravel developer')
->and($author->getWebsite())->toBe('https://pinkary.com')
->and($author->getSocialLinks())->toBe(['twitter' => 'francisco.b', 'facebook' => 'francisco.b'])
->and($author->getFeaturedImage())->toBe($featuredImage)
->and($author->getCreatedBy())->toBe($createdBy)
->and($author->getLastUpdatedBy())->toBe($createdBy)
->and($author->getCreatedAt())->toBeInstanceOf(DateTimeImmutable::class)
->and($author->getLastUpdatedAt())->toBeInstanceOf(DateTimeImmutable::class);


Love Pest

132