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

Java

71.2K
50K
+ 1
3.5K
Laravel

16.4K
12.2K
+ 1
3.3K
Add tool

Java vs Laravel: What are the differences?

Developers describe Java as "A concurrent, class-based, object-oriented, language specifically designed to have as few implementation dependencies as possible". Java is a programming language and computing platform first released by Sun Microsystems in 1995. There are lots of applications and websites that will not work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable. From laptops to datacenters, game consoles to scientific supercomputers, cell phones to the Internet, Java is everywhere!. On the other hand, Laravel is detailed as "A PHP Framework For Web Artisans". Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, and caching.

Java and Laravel are primarily classified as "Languages" and "Frameworks (Full Stack)" tools respectively.

"Great libraries", "Widely used" and "Excellent tooling" are the key factors why developers consider Java; whereas "Clean architecture", "Growing community" and "Composer friendly" are the primary reasons why Laravel is favored.

Laravel is an open source tool with 53K GitHub stars and 16.2K GitHub forks. Here's a link to Laravel's open source repository on GitHub.

Slack, Lyft, and MIT are some of the popular companies that use Java, whereas Laravel is used by PedidosYa, Sellsuki, and Webedia. Java has a broader approval, being mentioned in 2378 company stacks & 2632 developers stacks; compared to Laravel, which is listed in 817 company stacks and 753 developer stacks.

Decisions about Java and Laravel
Xi Huang
Developer at University of Toronto · | 11 upvotes · 63.2K views

We changed to Python instead of Java to have the back-end processing in the same language as our data analysis module. In addition, Python has a lot of libraries for data-processing. We intend to use Flask for our back-end web development. Flask is a simple, straight-forward framework for our purposes. Flask also has a large community which is beneficial to the development process.

See more
Noel Broda
Founder, CEO, CTO at NoFilter · | 5 upvotes · 51.8K views

1 code deploys for both: Android and iOS. There is a huge community behind React Native. And one of the best things is Expo. Expo uses React Native to make everything even more and more simple. Awesome technologies. Some other important thing is that while using React Native, you are reusing all JavaScript knowledge you have in your team. You easily can move a frontend dev to develop mobile applications.

See more
washie mugo
Chose
DjangoDjango
over
LaravelLaravel

i find python quite resourceful. given the bulk of libraries that python has and the trends of the tech i find django which runs on python to be the framework of choice to the upcoming web services and application. Laravel on the other hand which is powered by PHP is also quite resourceful and great for startups and common web applications.

See more
Pros of Java
Pros of Laravel
  • 571
    Great libraries
  • 432
    Widely used
  • 393
    Excellent tooling
  • 376
    Huge amount of documentation available
  • 328
    Large pool of developers available
  • 197
    Open source
  • 192
    Excellent performance
  • 150
    Great development
  • 142
    Vast array of 3rd party libraries
  • 142
    Used for android
  • 54
    Compiled Language
  • 46
    Used for Web
  • 42
    Managed memory
  • 42
    Native threads
  • 40
    High Performance
  • 35
    Statically typed
  • 31
    Easy to read
  • 29
    Great Community
  • 25
    Reliable platform
  • 23
    JVM compatibility
  • 22
    Sturdy garbage collection
  • 19
    Cross Platform Enterprise Integration
  • 18
    Universal platform
  • 16
    Great Support
  • 16
    Good amount of APIs
  • 11
    Lots of boilerplate
  • 10
    Great ecosystem
  • 10
    Backward compatible
  • 9
    Everywhere
  • 7
    Excellent SDK - JDK
  • 6
    Mature language thus stable systems
  • 5
    Better than Ruby
  • 5
    Portability
  • 5
    Static typing
  • 5
    Clojure
  • 5
    It's Java
  • 5
    Cross-platform
  • 4
    Vast Collections Library
  • 4
    Old tech
  • 3
    Best martial for design
  • 3
    Great Structure
  • 3
    Most developers favorite
  • 3
    Stable platform, which many new languages depend on
  • 3
    Long term language
  • 3
    Used for Android development
  • 2
    Testable
  • 1
    Javadoc
  • 496
    Clean architecture
  • 357
    Growing community
  • 334
    Composer friendly
  • 310
    Open source
  • 292
    The only framework to consider for php
  • 192
    Mvc
  • 187
    Quickly develop
  • 154
    Dependency injection
  • 141
    Application architecture
  • 128
    Embraces good community packages
  • 56
    Write less, do more
  • 49
    Restful routing
  • 45
    Orm (eloquent)
  • 42
    Artisan scaffolding and migrations
  • 42
    Database migrations & seeds
  • 35
    Awesome
  • 32
    Great documentation
  • 25
    Awsome, Powerfull, Fast and Rapid
  • 25
    Promotes elegant coding
  • 24
    Build Apps faster, easier and better
  • 22
    JSON friendly
  • 21
    Most easy for me
  • 20
    Eloquent ORM
  • 19
    Easy to learn, scalability
  • 19
    Modern PHP
  • 19
    Test-Driven
  • 18
    Blade Template
  • 18
    Beautiful
  • 13
    Security
  • 11
    Clean Documentation
  • 10
    Based on SOLID
  • 10
    Cool
  • 10
    Convention over Configuration
  • 9
    Easy to attach Middleware
  • 9
    Simple
  • 8
    Laravel + Cassandra = Killer Framework
  • 8
    Fast
  • 8
    Easy to use
  • 8
    Simpler
  • 8
    Get going quickly straight out of the box. BYOKDM
  • 8
    Easy Request Validatin
  • 7
    Simplistic , easy and faster
  • 7
    Less dependencies
  • 7
    Its just wow
  • 6
    Friendly API
  • 5
    Its beautiful to code in
  • 5
    Super easy and powerful
  • 5
    Great customer support
  • 4
    Speed
  • 4
    Fast and Clarify framework
  • 4
    The only "cons" is wrong! No static method just Facades
  • 4
    Easy
  • 4
    Active Record
  • 4
    Php7
  • 3
    Laravel Mix
  • 3
    Laragon
  • 3
    Eloquent
  • 3
    Easy views handling and great ORM
  • 3
    Minimum system requirements
  • 3
    Composer
  • 2
    Intuitive usage
  • 2
    Laravel Spark
  • 2
    Laravel Passport
  • 2
    Laravel Nova
  • 2
    Laravel casher
  • 2
    Laravel Horizon and Telescope
  • 2
    Laravel Forge and Envoy
  • 2
    Ease of use
  • 2
    Cashier with Braintree and Stripe
  • 1
    Rapid development
  • 0
    Scout

Sign up to add or upvote prosMake informed product decisions

Cons of Java
Cons of Laravel
  • 28
    Verbosity
  • 24
    NullpointerException
  • 15
    Overcomplexity is praised in community culture
  • 12
    Nightmare to Write
  • 10
    Boiler plate code
  • 8
    Classpath hell prior to Java 9
  • 6
    No REPL
  • 4
    No property
  • 2
    Code are too long
  • 2
    There is not optional parameter
  • 2
    Floating-point errors
  • 1
    Terrbible compared to Python/Batch Perormence
  • 1
    Java's too statically, stronglly, and strictly typed
  • 1
    Non-intuitive generic implementation
  • 1
    Returning Wildcard Types
  • 38
    PHP
  • 24
    Too many dependency
  • 19
    Slower than the other two
  • 15
    A lot of static method calls for convenience
  • 13
    Too many include
  • 10
    Heavy
  • 7
    Bloated
  • 6
    Laravel
  • 5
    Confusing
  • 4
    Does not work well for file uploads in Shared Hosting
  • 3
    Too underrated
  • 2
    Not fast with MongoDB
  • 1
    Difficult to learn
  • 1
    Not using SOLID principles

Sign up to add or upvote consMake informed product decisions

- No public GitHub repository available -

What is Java?

Java is a programming language and computing platform first released by Sun Microsystems in 1995. There are lots of applications and websites that will not work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable. From laptops to datacenters, game consoles to scientific supercomputers, cell phones to the Internet, Java is everywhere!

What is Laravel?

It is a web application framework with expressive, elegant syntax. It attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, and caching.

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

What companies use Java?
What companies use Laravel?

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

What tools integrate with Java?
What tools integrate with Laravel?

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

Blog Posts

Oct 24 2019 at 7:43PM
https://img.stackshare.io/stack/513891/default_86b138c409d64e353c3d509121b4ac1dd9cf31c4.png logo

AppSignal

JavaScriptNode.jsJava+8
5
645
Aug 28 2019 at 3:10AM
https://img.stackshare.io/stack/505487/default_e35b8bd5e615e01dc9b420dbd2a444fcbaeff755.png logo

Segment

PythonJavaAmazon S3+16
5
1847
Jul 16 2019 at 9:19PM
https://img.stackshare.io/stack/375837/default_c7e89deb2e33784df099a175e9a1da103b97a872.png logo

Bugsnag

JavaAndroid SDKBugsnag+3
3
220
GitHubPythonNode.js+47
43
67483
GitHubPythonNode.js+26
26
14888
What are some alternatives to Java and Laravel?
C
Abstract
Abstract builds upon and extends the stable technology of Git to host and manage your work.
Go
Go is expressive, concise, clean, and efficient. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel type system enables flexible and modular program construction. Go compiles quickly to machine code yet has the convenience of garbage collection and the power of run-time reflection. It's a fast, statically typed, compiled language that feels like a dynamically typed, interpreted language.
Python
Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
Scala
Scala is an acronym for “Scalable Language”. This means that Scala grows with you. You can play with it by typing one-line expressions and observing the results. But you can also rely on it for large mission critical systems, as many companies, including Twitter, LinkedIn, or Intel do. To some, Scala feels like a scripting language. Its syntax is concise and low ceremony; its types get out of the way because the compiler can infer them.
See all alternatives
Interest over time