FOSRestBundle VS NelmioCorsBundle

Compare FOSRestBundle vs NelmioCorsBundle and see what are their differences.

FOSRestBundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony (by FriendsOfSymfony)

NelmioCorsBundle

Adds CORS (Cross-Origin Resource Sharing) headers support in your Symfony application (by nelmio)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
FOSRestBundle NelmioCorsBundle
2 2
2,786 1,850
0.2% 0.3%
5.9 5.0
10 days ago 5 months ago
PHP PHP
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

FOSRestBundle

Posts with mentions or reviews of FOSRestBundle. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-17.
  • CORS with Symfony, jQuery, FOSRestBundle and NelmioCorsBundle
    2 projects | /r/codehunter | 17 Oct 2022
    nelmio\_cors: paths: "^/": allow\_credentials: true origin\_regex: true allow\_origin: - "^(https?://)?(back|api)\.mydomain.dev/?" allow\_headers: ['Origin','Accept','Content-Type'] allow\_methods: ['POST','GET','DELETE','PUT','OPTIONS'] max\_age: 3600 hosts: - "^(https?://)?(back|api)\.mydomain.dev/?" The controller used is extending FOSRestBundle's one, has some security (for example, cannot POST/PUT/DELETE when you don't have the correct role), can update objects and returns only JSON data (there is a listener for that).
  • Controller ConstraintViolationListInterface
    2 projects | /r/symfony | 10 Sep 2022
    Searching the internet for FOSRestBundle ConstraintViolationListInterface yields useful documentation such as https://github.com/FriendsOfSymfony/FOSRestBundle/blob/3.x/Resources/doc/request_body_converter_listener.rst.

NelmioCorsBundle

Posts with mentions or reviews of NelmioCorsBundle. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-17.

What are some alternatives?

When comparing FOSRestBundle and NelmioCorsBundle you can also consider the following projects:

API Platform - Create REST and GraphQL APIs, scaffold Jamstack webapps, stream changes in real-time.

Home Assistant - :house_with_garden: Open source home automation that puts local control and privacy first.

Symfony - The Symfony PHP framework

SwarrotBundle - A symfony bundle for swarrot integration

Sylius - Open Source eCommerce Framework on Symfony

core - The server component of API Platform: hypermedia and GraphQL APIs in minutes

DoctrineMigrationsBundle - Symfony integration for the doctrine/migrations library

dd-trace-php - Datadog PHP Clients

gotenberg-pdf-bundle - [READ-ONLY] Symfony Bundle for generating PDF using Gotenberg API

acl-bundle - Integrates the ACL Security component into Symfony applications.