NelmioCorsBundle VS FOSRestBundle

Compare NelmioCorsBundle vs FOSRestBundle and see what are their differences.

NelmioCorsBundle

Adds CORS (Cross-Origin Resource Sharing) headers support in your Symfony application (by nelmio)

FOSRestBundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony (by FriendsOfSymfony)
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
NelmioCorsBundle FOSRestBundle
2 2
1,850 2,786
0.3% 0.2%
5.0 5.9
5 months ago 13 days 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.

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.

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.

What are some alternatives?

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

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

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

SwarrotBundle - A symfony bundle for swarrot integration

Symfony - The Symfony PHP framework

Sylius - Open Source eCommerce Framework on Symfony

DoctrineMigrationsBundle - Symfony integration for the doctrine/migrations library

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

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.