Check out Checkmango, the full-stack A/B testing platform.

Laravel Artisan Cheatsheet API

In October 2023, I updated the Laravel Artisan Cheatsheet to Nuxt 3.x. Along with several other changes, I wanted to add a new feature to the site, an API.


The /api/versions endpoint simply lists all versions of Laravel supported by the site:


When Laravel 11.x is released, it will of course be available here too.


The /api/packages endpoint is similar in that it lists all packages supported by the site:


All packages are listed by their Composer package name, not their display name. When building the documentation for each Laravel version, we'll attempt to install the packages listed on this endpoint. Of course, not all packages are available due to different versioning constraints.


To find the commands available for each version of Laravel, you may use the /api/{version} endpoint. For example, /api/10.x will return all commands for Laravel 10.x.

    "description":"Display basic information about your application",
    "synopsis":"about [--only [ONLY]] [--json]",
        "description":"The section to display",
        "description":"Output the information as JSON",
  // More commands...

I'd love to see what you can build with this API. If you do build something, please let me know on X (Twitter)!