This release brings support for auto-model specialisation. This much requested feature makes it easy to create custom models for your TypedCMS blueprints.
- Auto-specialised models - In previous releases it was necessary to use a
specialize()method to switch to custom model. This is now handled automatically. Just set the
$blueprintproperty in your custom model and it will automatically be used for your construct data when receiving content using a repository.
specialize()method deprecated - The method is no longer useful and has been deprecated. It will be removed in version 2.0.
Share this post
Laravel Starter Kit Guide
TypedCMS' use of JSON:API specification compliant APIs make it really easy to integrate into any new or existing Laravel project.
The TypedCMS Starter Kit for Laravel is the perfect kick start to your implementation, whether for an existing project or brand new one. Our stater kits are tailored solutions for each platform, unlike the simple API wrappers offered by other vendors.
Our Laravel kit provides Eloquent like models, repositories, query caching and a simple mechanism for adding custom webhook controllers and handlers.