Get Advice Icon

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

Laravel
Laravel

7.3K
4.4K
+ 1
2.8K
Yii
Yii

476
195
+ 1
263
Add tool

Laravel vs Yii: What are the differences?

Developers describe Laravel 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. On the other hand, Yii is detailed as "A high-performance PHP framework best for developing Web 2.0 applications". Yii comes with: MVC, DAO/ActiveRecord, I18N/L10N, caching, authentication and role-based access control, scaffolding, testing, etc. It can reduce your development time significantly.

Laravel and Yii can be primarily classified as "Frameworks (Full Stack)" tools.

"Clean architecture" is the top reason why over 420 developers like Laravel, while over 36 developers mention "Open source" as the leading cause for choosing Yii.

Laravel and Yii are both open source tools. It seems that Laravel with 53.4K GitHub stars and 16.4K forks on GitHub has more adoption than Yii with 4.86K GitHub stars and 2.22K GitHub forks.

According to the StackShare community, Laravel has a broader approval, being mentioned in 831 company stacks & 773 developers stacks; compared to Yii, which is listed in 58 company stacks and 32 developer stacks.

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.

What is Yii?

Yii comes with: MVC, DAO/ActiveRecord, I18N/L10N, caching, authentication and role-based access control, scaffolding, testing, etc. It can reduce your development time significantly.
Get Advice Icon

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

Why do developers choose Laravel?
Why do developers choose Yii?

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

What are the cons of using Laravel?
What are the cons of using Yii?
    Be the first to leave a con

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

    What companies use Laravel?
    What companies use Yii?

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

    What tools integrate with Laravel?
    What tools integrate with Yii?

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

    What are some alternatives to Laravel and Yii?
    Symfony
    Symfony is written with speed and flexibility in mind. It allows developers to build better and easy to maintain websites with PHP. Symfony can be used to develop all kind of websites, from your personal blog to high traffic ones like Dailymotion or Yahoo! Answers.
    CodeIgniter
    CodeIgniter is a proven, agile & open PHP web application framework with a small footprint. It is powering the next generation of web apps.
    Django
    Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
    CakePHP
    CakePHP makes building web applications simpler, faster, while requiring less code. A modern PHP 7 framework offering a flexible database access layer and a powerful scaffolding system.
    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 Laravel and Yii
    No stack decisions found
    Interest over time
    Reviews of Laravel and Yii
    Review ofLaravelLaravel

    I moved from .NET and Rails to Laravel, and since then never thought to go back. I feel Laravel framework has the capability to overcome all modern frameworks.

    At Soft Pyramid we are developing rich business applications using Laravel Framework, and never feel any limitation even for complex reporting.We have written REST apis, complex ERP solutions and found awsome in all areas.

    How developers use Laravel and Yii
    Avatar of BrightMachine
    BrightMachine uses LaravelLaravel

    The best PHP framework right now, intuitive and growing up quickly.

    We use Laravel in the outer layer of our Clean Architecture codebases, whereby the domain model does not rely on the framework as a whole.

    Avatar of Kent Steiner
    Kent Steiner uses LaravelLaravel

    See "PHP", I don't really choose to use it, but I can step in and operate in Laravel when necessary. Same goes for quite a few other PHP frameworks, including my own full-featured proprietary stack.

    Avatar of Nicholas Alexander
    Nicholas Alexander uses LaravelLaravel

    An excellent PHP framework employing SOLID principles to rapidly develop web-site systems and connect them to databases. Custom development of admin screens for website management.

    Avatar of Doug Bromley
    Doug Bromley uses LaravelLaravel

    A clean, easy to understand, well documented framework with excellent tools and a great community providing every imaginable extension to add functionality to your project.

    Avatar of Jake Taylor
    Jake Taylor uses LaravelLaravel

    Laravel is the PHP framework we use. It speeds up development and simplifies a lot of PHP. Complicated at first but saves time once you're comfortable with it.

    Avatar of Felipe Almeida
    Felipe Almeida uses YiiYii

    Yii is great. 90% of the work done by Yii.

    How much does Laravel cost?
    How much does Yii cost?
    Pricing unavailable
    Pricing unavailable
    News about Yii
    More news