At Opscale, we’re passionate about contributing to the open-source community by providing solutions that help businesses scale efficiently. If you’ve found our tools helpful, here are a few ways you can show your support:
⭐ Star this repository to help others discover our work and be part of our growing community. Every star makes a difference!
💬 Share your experience by leaving a review on Trustpilot or sharing your thoughts on social media. Your feedback helps us improve and grow!
📧 Send us feedback on what we can improve at [email protected]. We value your input to make our tools even better for everyone.
🙏 Get involved by actively contributing to our open-source repositories. Your participation benefits the entire community and helps push the boundaries of what’s possible.
💼 Hire us if you need custom dashboards, admin panels, internal tools or MVPs tailored to your business. With our expertise, we can help you systematize operations or enhance your existing product. Contact us at [email protected] to discuss your project needs.
Thanks for helping Opscale continue to scale! 🚀
Add default secured CRUD API endpoints for your Nova resources.
Integrations are everywhere, even managing your operations in your Nova app, external systems will need to communicate with your app for consuming data or keep records up to date. APIs are the best solution for that!
You can install the package in to a Laravel app that uses Nova via composer:
composer require opscale-co/nova-api
Next up, you must register the tool with Nova. This is typically done in the tools
method of the NovaServiceProvider
.
Remember to execute:
php artisan install:api
// in app/Providers/NovaServiceProvider.php
// ...
public function tools()
{
return [
// ...
new \Opscale\NovaAPI\Tool(),
];
}
This package uses Orion and Laravel Sanctum internally to automatically create controllers for serving, requests for validating and policies for securing API for your Nova resources. Any further configuration can be done publishing the configuration file using:
php artisan vendor:publish --tag=orion-config
You will see a "API Tokens" item in your menu by default. You can create your API Tokens here and you cab use them for any CRUD operation.
npm run test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.