Request a feature
API documentation generation for Spatie’s Laravel Data, and Spatie’s Laravel Query builder.
Scramble PRO demo
Learn about Scramble PRO
In around 2 minutes
Laravel Data
API documentation generation for Spatie’s Laravel Data. Read the documentation →
use App\Data\JobData;
use App\Data\JobPayloadData;
use App\Http\Controllers\Controller;
use App\Models\Company;
use App\Models\Job;
class CompaniesJobsController extends Controller
{
public function store(Company $company, JobPayloadData $jobPayload)
{
$job = Job::make($jobPayload);
$company->jobs()->save($job);
return JobData::from($job);
}
}
Laravel Data docs
Laravel Query Builder
API documentation generation for Spatie’s Laravel Query Builder. Read the documentation →
use App\Data\CompanyData;
use App\Http\Controllers\Controller;
use App\Models\Company;
use Illuminate\Http\Request;
use Spatie\LaravelData\PaginatedDataCollection;
use Spatie\QueryBuilder\QueryBuilder;
class CompaniesController extends Controller
{
public function index(Request $request)
{
$companies = QueryBuilder::for(Company::class)
->allowedFields(['id', 'name', 'jobs.id', 'jobs.title', 'created_at'])
->allowedFilters([
'name',
'created_at',
])
->allowedIncludes('jobs')
->allowedSorts([
'name',
'created_at',
])
->paginate($request->integer('per_page', 15));
return CompanyData::collect($companies, PaginatedDataCollection::class);
}
}
Laravel Query Builder docs
Pricing
Each license includes 1 year of updates and perpetual lifetime license.
Solo
$99
Allows you to use Scramble PRO on a single project.
Unlimited
$399
Allows you to use Scramble PRO on unlimited amount of projects.

Scramble PRO has helped us build clear API documentation during the creation of our mobile app.

Support for Spatie's Laravel Data package makes Scramble PRO a must-have for developers that want to build strongly-typed API objects.

As early adopters, Roman was always quick to respond and ask for feedback.

Highly recommended!

Bram
Bram Ceulemans
Senior Software Developer at Car & Classic

Scramble PRO is amazing. It helps us move quickly and have a public API from day one! We finally have consistent typing between backend and the frontend.

Ricardo
Ricardo Faust
CTO at Comunitive
FAQ
What happens after the purchase?
You will receive the email with the API key and instructions on how to install and use the package.
Can I try it before purchase?
There is no trial, but there is 14-day money-back guarantee. If Scramble PRO isn’t right for you and I cannot improve it so it fits your needs, I’ll refund.
What happens if I spot bugs?
Just let me (roman@dedoc.co) know about the bugs and I will provide a fix as soon as possible!
What is on the roadmap?
Depends on the requests and feedback I get! The current vision is to add a comprehensive support for other packages popular in the community.
I have other question.
Feel free to drop a few lines to me: roman@dedoc.co