laravel-query-builder
laravel
laravel-query-builder | laravel | |
---|---|---|
4 | 4 | |
3,905 | 501 | |
0.4% | 1.0% | |
8.0 | 6.6 | |
17 days ago | about 1 month ago | |
PHP | PHP | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
laravel-query-builder
-
laravel-json-api alternatives - laravel-query-builder, laravel-fractal, and laravel
4 projects | 14 Jul 2023
Similar to laravel-json-api, trying to turn JSON http queries to Laravel database queries.
-
Need advice on building a filter function for GET Rest API
As u/stu88s pointed out, you should have a look to spatie packages. I extensively use spatie Query Builder and it works really well.
-
How to use query strings in a route?
I use this package https://github.com/spatie/laravel-query-builder it's really easy to use
-
orderByRaw() does it sanitize?
What are you trying to do? Order by a column of the user's choosing? If so, accept only a whitelist of acceptable column names. Or let https://github.com/spatie/laravel-query-builder do the heavy lifting.
laravel
-
What if an SQL Statement Returned a Database?
This seems similar to how Eloquent (Laravel's ORM) will, by default, make separate IN queries when you ask for a collection plus its relationships (instead of using a JOIN).
I have thought about how you might return normalised data to your front-end and, with support from a front-end library, rebuild the object relationships so you can access them naturally.
I looked into JSON:API and indeed there is a Laravel library for working with JSON:API https://github.com/laravel-json-api/laravel.
One place I got stuck with JSON:API is that support for updating a row and its relationships in a single API request seems to have been kicked around for a while and is unresolved:
-
laravel-json-api alternatives - laravel-query-builder, laravel-fractal, and laravel
4 projects | 14 Jul 2023
cloudcreativity/laravel-json-api is now considered to be the legacy, they recommend laravel-json-api/laravel instead.
-
Step by step guide to becoming a modern back end developer in 2023
I did for one project, although I got kicked off a year in, because they didn't know what they had.
IMHO every REST API should be discoverable this way like the web, for example with links to related resources in responses (at least in dev) and by having OpenAPI documentation at a root path like / or /api.
JSON API provides much of this for free when used with something like Laravel:
https://jsonapi.org
https://jsonapi.org/implementations/
https://github.com/laravel-json-api/laravel
-
laravel json api
The package is marked as legacy and will continue under this package: https://github.com/laravel-json-api/laravel.
What are some alternatives?
laravel-datatables - jQuery DataTables API for Laravel
laravel-json-api - JSON API (jsonapi.org) package for Laravel applications.
cursor-pagination - Cursor pagination for your Laravel API
Monica - Personal CRM. Remember everything about your friends, family and business relationships.
laravel-medialibrary - Associate files with Eloquent models
Laravel - Laravel is a web application framework with expressive, elegant syntax. We’ve already laid the foundation for your next big idea — freeing you to create without sweating the small things.
seat - 🌀✳️ SeAT: A Simple, EVE Online API Tool and Corporation Manager
json-api - A specification for building JSON APIs
october - Self-hosted CMS platform based on the Laravel PHP Framework.
Laravel - The Laravel Framework.
laravel-jsend - Simple helpers to generate JSend-compliant JSON responses
Cachet - 🚦 The open-source status page system.