Skip to content
Switch branches/tags


Failed to load latest commit information.
Latest commit message
Commit time

The source code of


This repo contains the source code of our company website. This blog post series at contains a lot of info on how this code works.

Support us

We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.


This website was principally designed by Willem Van Bockstal. Everyone at Spatie has made cool contributions during development.


If you'd like to reuse or repost something, feel free to hit us up at Please remember that the design is not meant to be forked!


This project and the Laravel framework are open-sourced software licensed under the MIT license.

Apple sign-in

Every 6 months, the token for Sign-in with Apple expires, this can be renewed using the "Spatie apple login - private key" in our team's 1Password vault and the following ruby script:

require 'jwt'

key_file = 'key.txt'
team_id = '' # Found in the top right when signed in on the Apple developer site
client_id = ''
key_id = '' # The key ID, found here

ecdsa_key = key_file

headers = {
'kid' => key_id

claims = {
    'iss' => team_id,
    'iat' =>,
    'exp' => + 86400*180,
    'aud' => '',
    'sub' => client_id,

token = JWT.encode claims, ecdsa_key, 'ES256', headers

puts token

Then execute it using

ruby client_secret.rb

Which gives you a new token that is valid for 6 months.