Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

PHP-MVC
PHP-MVC

67
68
+ 1
0
Spring
Spring

2.2K
1.9K
+ 1
974
Add tool

PHP-MVC vs Spring: What are the differences?

Developers describe PHP-MVC as "Simple and easy to understand MVC skeleton application". This project is - by intention - NOT a full framework, it's a bare-bone structure, written in purely native PHP ! The php-mvc skeleton tries to be the extremely slimmed down opposite of big frameworks like Zend2, Symfony or Laravel. On the other hand, Spring is detailed as "Provides a comprehensive programming and configuration model for modern Java-based enterprise applications". A key element of Spring is infrastructural support at the application level: Spring focuses on the "plumbing" of enterprise applications so that teams can focus on application-level business logic, without unnecessary ties to specific deployment environments.

PHP-MVC and Spring belong to "Frameworks (Full Stack)" category of the tech stack.

PHP-MVC and Spring are both open source tools. Spring with 30.6K GitHub stars and 19.6K forks on GitHub appears to be more popular than PHP-MVC with 1.25K GitHub stars and 494 GitHub forks.

According to the StackShare community, Spring has a broader approval, being mentioned in 319 company stacks & 184 developers stacks; compared to PHP-MVC, which is listed in 11 company stacks and 8 developer stacks.

No Stats

What is PHP-MVC?

This project is - by intention - NOT a full framework, it's a bare-bone structure, written in purely native PHP ! The php-mvc skeleton tries to be the extremely slimmed down opposite of big frameworks like Zend2, Symfony or Laravel.

What is Spring?

A key element of Spring is infrastructural support at the application level: Spring focuses on the "plumbing" of enterprise applications so that teams can focus on application-level business logic, without unnecessary ties to specific deployment environments.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose PHP-MVC?
Why do developers choose Spring?
    Be the first to leave a pro

    Sign up to add, upvote and see more prosMake informed product decisions

      Be the first to leave a con
      What companies use PHP-MVC?
      What companies use Spring?

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with PHP-MVC?
      What tools integrate with Spring?

      Sign up to get full access to all the tool integrationsMake informed product decisions

      What are some alternatives to PHP-MVC and Spring?
      PHP
      Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.
      Node.js
      Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
      ASP.NET
      .NET is a developer platform made up of tools, programming languages, and libraries for building many different types of applications.
      Django
      Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
      Rails
      Rails is a web-application framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern.
      See all alternatives
      Decisions about PHP-MVC and Spring
      Buzz Zhang
      Buzz Zhang
      CTO at Qiban ยท | 4 upvotes ยท 62.5K views
      PHP
      PHP
      Yii
      Yii
      MySQL
      MySQL
      PHP-MVC
      PHP-MVC

      Of all PHP frameworks, my best and only choice is Yii . Think of this: you have a MySQL database, it contains several tables. Now you want to setup a PHP-MVC site, firstly, you must create Models, Yii have a very handy tool called Gii, you can easily create model with Gii just by one click, Gii will read your database table columns and create PHP models automatically for you. Now you need Controller, still with Gii, it will automatically create all 4 php files for you with Insert/Delete/Update/Select even with Search function.

      Well, now the most modern way is to have a RESTful API, that's even easier with Yii, you even don't need to care about all the columns, just 4 lines of code you can expose your database table as RESTful API with all GET/POST/PUT/DELETE support, even you change your database table columns, you don't need to change any PHP code.

      For security, Yii have embedded authentication and RBAC support. For multi language, Yii have embedded i18n support, all with out-of-box. Just play with it, I bet you will love it.

      See more
      Interest over time
      Reviews of PHP-MVC and Spring
      No reviews found
      How developers use PHP-MVC and Spring
      Avatar of datapile
      datapile uses SpringSpring

      Spring is another gift rained down by the gods of Open Source Software (a.k.a. Pivotal Labs in this particular case) that just makes sense on all levels.

      From Spring Boot, to SpringMVC, the configuration architecture & profile paradigm, Spring Cloud expandability, to the ease with which one can deploy Spring applets as microservices within Docker is an absolute joy.

      Avatar of Giovanni Candido da Silva
      Giovanni Candido da Silva uses SpringSpring

      The core of the application use Spring Stack, to provide services and structure like:

      • Persistence
      • REST
      • Email
      • Security
      • Self contained application with spring boot
      • And many others.
      Avatar of Kang Hyeon Ku
      Kang Hyeon Ku uses SpringSpring

      ๊ทธ๋ƒฅ ๊ฐ„๋‹จํ•œ MVC ์›น ํ”„๋ ˆ์ž„ ์›Œํฌ ์ธ์ค„ ์•Œ์•˜๋Š”๋ฐ ์ •๋ง ๋ชจ๋“ˆํ™”๊ฐ€ ์ž˜ ๋˜์žˆ๊ณ , ์‚ฌ์šฉํ•˜๋‹ค๋ณด๋ฉด ๊ฐœ๋ฐœ์ž์—๊ฒŒ ์ •๋ง ํŽธ๋ฆฌํ•˜๊ฒŒ ๋งŒ๋“ค์–ด ๋†“์•˜๋‹ค. vaildation ๋ถ€๋ถ„์€ ๋”ฐ๋กœ ์ฒ˜๋ฆฌ ํ•  ์ˆ˜ ์žˆ๊ณ , ํŒŒ๋ผ๋ฏธํ„ฐ ๋‹ด๋Š” ๋ณ€์ˆ˜์™€ ๋””ํดํŠธ ๊ฐ’์„ ์ธ์ž๋กœ ์„ค์ •ํ•ด ์ฃผ๋Š” ๋ถ€๋ถ„๋„ ์ฐธ ์ข‹์€ ๊ฒƒ ๊ฐ™๋‹ค. ๋˜ spring-data ๋Š” jpa ํ™œ์šฉํ•ด ๋น ๋ฅด๊ฒŒ ๊ฐœ๋ฐœํ•˜๋Š”๋ฐ ์œ ์šฉํ•˜๋‹ค.

      Avatar of ByeongGi
      ByeongGi uses SpringSpring
      • SpringFramework ์ค‘ MVC , AOP ๋“ฑ์˜ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ํ™œ์šฉํ•˜์—ฌ ์›น ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜ ํ”„๋กœ์ ํŠธ ๊ตฌ์„ฑ
      • ๊ณตํ†ต ๋กœ์ง ๊ตฌํ˜„ ๋ฐ ๋ณด์•ˆ ์ฒ˜๋ฆฌ ๊ฐ€๋Šฅ

      • Spring5์—์„œ ์ง€์›ํ•˜๋Š” ํ•จ์ˆ˜ํ˜• ํ”„๋กœ๊ทธ๋ž˜๋ฐ ๊ฒฝํ—˜ ์žˆ์Œ

      Avatar of Ralic Lo
      Ralic Lo uses SpringSpring

      Used Spring Boot and its ORM to interacting with database server for web application development.

      How much does PHP-MVC cost?
      How much does Spring cost?
      Pricing unavailable
      Pricing unavailable
      News about PHP-MVC
      More news