Laravel vs Wordpress for your Web Project?

Jeremy M Williams
8 min readJan 17, 2017

If you are an entrepreneur looking to build the next big tech empire, you have likely asked the question — can I build this in Wordpress or should I use a php framework like Laravel?

Most of you already know what Wordpress is; and who could blame you!? Around 15,886,000 websites on the entire web use WordPress.
The New York Observer, New York Post, TED, Thought Catalog, Williams, USA Today, CNN, Fortune.com, TIME.com, National Post, Spotify, TechCrunch, CBS Local, NBC all use WordPress.

Most developers love wordpress because it offers flexibility, its SEO friendly, secure, and the development cycle is pretty fast. Laravel on the other hand is more for custom stuff. Wordpress is for plug and play purposes. It’s a CMS. If you want to build the next Facebook or some mind-blowing platform, use Laravel. If you want to build a fashion blog or e-commerce store, use WordPress.

Laravel helps to professionally solve common developer challenges like:

  1. Building an Authentication and Authorization Systems
  2. Integration with Mail Services
  3. Integration with Tools for Making Web Applications Faster
  4. Fixing the Most Common Technical Vulnerabilities
  5. Configuration Error and Exception Handling
  6. Automation Testing Work
  7. URL Routing Configuration
  8. Separation “Business Logic Code” from “Presentation Code”
  9. Message Queue System (Delayed Delivery) Configuration
  10. Scheduling Tasks Configuration and Management

#SHAMELESS PLUG: Checkout my developing youtube channel and subscribe: CREATIVE LOOT TV ,,, I’m talking about everything but mostly tech and corporate culture ;)

Many people build custom vehicles from scratch, or from fabricating other car parts (libraries) to work together. Using a brilliant framework, like Laravel, is like having an excellent workshop with many tools at your disposal to get the job done. Whereas using an application, like Wordpress, is like starting with a production car, something that already operates for a specific task, in this case blogging. Both have pros and cons.

A custom car (Laravel) often takes longer, is harder to maintain and is more prone to learning from mistakes, resulting in more bugs; yet it is more flexible, crafted by hand and can perform huge functions for unique needs.

A production car (CMS) / (WORDPRESS) is quicker, you work as a team (others using the same car), there is less low level programming so less bugs, has maintenance and upgrade paths; however it can be less flexible, makes assumptions about how the site should behave, custom features often need to be “bolted on” as after market parts or hacked in and the end result might be identified as a modified piece of work (to a trained eye).

WordPress is usually the top pick :

  1. The project falls under the category of content-based portals such as blogs/newspapers.
  2. The market has available WordPress plugins with the necessary quality/security and functionality to suit software requirements.
  3. The founder of the startup wants to test the market and to create the first version of the website fast/cheap with a stripped-down functionality. In this case, WordPress can be useful as a prototype and platform for a minimal viable product.

WordPress is a system for managing content. So if the project falls under the category of content-based portal like blog/newspaper/course/portfolio — then WordPress is usually no.1 choice. It doesn’t make sense to re-create with Laravel all great features of content management — there’s a whole lot of them under the hood: draft auto-saving, images gallery, tags/categories etc.

On the other hand, if your project is full of user-based actions like registration, internal messages, upload content, voting, matching profiles, payment history and similar stuff — then custom framework-based code is much better. To be fair, all of that is POSSIBLE to achieve with WordPress and plugins, but for long-term projects it might be harder to maintain, cause you would be attached to the plugins and their structure/updates etc.

The following features serve as Laravel’s key design points

  • Bundles provide a secluded packaging system since the release of Laravel 3, with bundled features already available for easy expansion to applications. Furthermore, Laravel 4 uses Composer as a dependency manager to include framework-skeptic and Laravel-specific PHP packages available from the Packagist repository.
  • Eloquent ORM (object-relational mapping) is an advanced PHP implementation of the active record pattern, giving at the same time internal methods for enforcing requirements on the relationships between database objects. Taking after the active record pattern, Eloquent ORM presents database tables as classes, with their object instances tied to single table lines.
  • Query builder, available since Laravel 4, provides a more direct database access alternative to the Eloquent ORM. Instead of requiring SQL queries to be written directly, Laravel’s query builder provides a set of classes and methods capable of building queries automatically. It likewise permits selectable storing of the results of executed queries.
  • Application rationale is an integral piece of developed applications, implemented either by utilizing controllers or as a major aspect of the route declarations. The language structure used to define application rationale is like the one used by Sinatra framework.
  • Reverse directing defines a relationship between the connections and routes, rolling out it possible for later improvements to routes to be naturally propagated into relevant connections. When the connections are created by utilizing names of existing routes, the appropriate uniform resource identifiers (URIs) are naturally created by Laravel.
  • Restful controllers provide a discretionary path for separating the rationale behind serving HTTP GET and POST requests.
  • Class auto stacking provides automated stacking of PHP classes without the need for manual maintenance of consideration ways. On-demand stacking prevents consideration of unnecessary components, so just the really used components are loaded.
  • View composers serve as customizable intelligent code units that can be executed when a view is loaded.
  • Blade templating engine combines one or more templates with an information model to produce resulting views, doing that by transpiling the templates into cached PHP code for improved performance. Blade likewise provides its very own set control structures, for example, contingent statements and circles, which are internally mapped to their PHP counterparts. Furthermore, Laravel services might be called from Blade templates, and the templating engine itself can be extended with custom directives.

Check out how expressive and elegant Laravel Syntax is:

The above code example returns the email address of the database entry associated with the user named John. (You probably guessed it had something to do with John’s email, right?) This simple-to-read and easily-understood syntax means that developers will be able to understand the code for your project more easily if you are one of those who likes to bounce between multiple developers versus stick to one.

Using Laravel can help you avoid Technical Debt!

Technical debt happens when, over time, your codebase accumulates problems that need to be fixed before new features can be implemented. Maybe you needed to push a new feature through the door hastily; maybe a newer developer created a function in a less-than-elegant way. Maybe a piece of functionality in your site needs to be extended beyond its original application, and the code must be updated to uncouple the capability from its current application area. In any case, technical debt has a tendency to grow if you don’t actively work to minimize it — and this is particularly true for more complex web apps. And like financial debt, as technical debt grows, it can become a huge problem that halts ongoing progress.

Taylor Otwell, Laravel’s creator, has described Laravel as being somewhat more “opinionated” than other frameworks (such as Symfony). This means that it sort of “nudges” developers into developing their code in a specific, standardized way — thereby making technical debt less likely to occur.

For example, the Laravel framework strongly pushes developers to adopt principles of Object Oriented Programming. There are also a lot of modern programming principles (such as SOLID coding practices) that are commonly talked about within the context of Laravel — in training materials and forums, for example — which in turn fosters better coding practices and places a bigger barrier against technical debt.

Bottom line: you won’t waste time or money fixing avoidable issues.

Wordpress will usually be easy on the budget ($250 — $2500) on average but it can get as high as $10,000 if you require custom plugins and unique design that separates you from the hundreds of people using the same theme.

Laravel can carry a heavier budget ask of $1500 — $30,000, but then again, every penny spent is worth it because it will end up being your exact budget from the ground up. 100% custom to your heart’s content and powerful enough to support all the users you could ever dream of having. This cost range is also low in the big picture of things. Building a platform like Facebook could easily cost $50k to $100k, but with laravel — you can achieve the same exact thing for under $15,000 which is a monster deal!

Contact me at jeremy@vyudu.com if you need a custom website or app for android or iOS.

Vyudu Inc | An App Design & eCommerce Growth Lab

We build future-proof web and mobile applications for small businesses and large enterprises. Code your empire with us.

About

𝑾𝒆 𝒎𝒂𝒌𝒆 𝒐𝒏𝒍𝒊𝒏𝒆 𝒃𝒖𝒔𝒊𝒏𝒆𝒔𝒔𝒆𝒔 𝒍𝒐𝒐𝒌 𝒔𝒆𝒙𝒚 𝒂𝒏𝒅 𝒇𝒖𝒏𝒄𝒕𝒊𝒐𝒏 𝒔𝒎𝒂𝒓𝒕.

𝒞𝓁𝒾𝑒𝓃𝓉𝓈 𝒾𝓃𝒸𝓁𝓊𝒹𝑒:

Luxottica | Tourneau | Cole Haan | Balmain | Gucci | Brinker & Eliza | Mango & many more.

𝐰𝐰𝐰.𝐯𝐲𝐮𝐝𝐮.𝐜𝐨𝐦

Specialties include: Designing / Developing attractive web & mobile shopping experiences with Shopify, Woocommerce, and Laravel PHP Framework.

𝐊𝐞𝐲 𝐈𝐧𝐝𝐮𝐬𝐭𝐫𝐢𝐞𝐬: 𝐁𝐞𝐚𝐮𝐭𝐲, 𝐅𝐚𝐬𝐡𝐢𝐨𝐧, 𝐋𝐢𝐟𝐞𝐬𝐭𝐲𝐥𝐞, & 𝐒𝐭𝐚𝐫𝐭𝐮𝐩𝐬

We work with strategic partners (Agencies & Consultants) to help produce engaging digital content, attractive design, and intelligent functionality for startups and established brands.

Our goal is to keep web visitors engaged enough to return and refer new business to facilitate repeat transactions by way of product sales and service offerings.

₵Ø₥₱₳₦Ɏ QɄØ₮Ɇ:

“Most people pour maple syrup on their waffles.
𝐖𝐞 𝐩𝐨𝐮𝐫 𝐀𝐆𝐀𝐕𝐄.

You can also skype me @ codetheworld !!!

--

--

Jeremy M Williams

Empire Builder with a poetic mind. A “Luxury brand expert” with hard knocks life experience. A “Writer” who codes. A “Strategist” who designs.