
Product
Socket Zero Introduces Automated Remediation PRs
Put vulnerability remediation on autopilot with automated security patches and intelligent dependency upgrades across your GitHub repositories.
sinclairt/crud-controller
Advanced tools
The Crud Controller is built to minimise the amount of code you need to write to get a resource off the ground. It is coupled with the Magic Views package which gets the views for these methods created in a cinch.
composer require sinclairt/crud-controller
composer install
Add the service provider to your app/config
Sinclair\CrudController\Providers\CrudControllerServiceProvider::class
composer dump-autoload
All you need to do is create a controller and use the Sinclair\CrudController\Traits\CrudController trait, and ensure the setUp method is called inside your construct and you're good to go!
The repository should extend Sinclair\Repository\Repositories\Repository, but will at least need to implement Sinclair\Repository\Contracts\Repository.
All the methods inside the repository use methods from the Illuminate\Database\Eloquent\Model class, so, if you are going to use something other than this in your repository, make sure you implement Sinclair\Repository\Contracts\Repository and implement the methods as necessary.
Please refer to the documentation for Magic Views for more information.
FAQs
Stop repeating yourself in controllers
We found that sinclairt/crud-controller demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.

Product
Put vulnerability remediation on autopilot with automated security patches and intelligent dependency upgrades across your GitHub repositories.

Product
Socket Zero automates vulnerability remediation with upgrades and targeted patches, including fixes for 100% of known, patchable RubyGems CVEs.

Product
Explore Socket’s redesigned Alerts UI, multi-branch repository monitoring, and new tools for resolving findings, searching scans, and filtering security alerts.