<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Mario Krvaric on Medium]]></title>
        <description><![CDATA[Stories by Mario Krvaric on Medium]]></description>
        <link>https://medium.com/@mariokrvaric?source=rss-d3a3f1caf73e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*DEjdDd7Q6QT0TkmSfIvuXQ.jpeg</url>
            <title>Stories by Mario Krvaric on Medium</title>
            <link>https://medium.com/@mariokrvaric?source=rss-d3a3f1caf73e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 15:22:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mariokrvaric/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Earn a free burger and beer each month]]></title>
            <link>https://medium.com/@mariokrvaric/earn-a-free-burger-and-beer-each-month-cd5093f2b38c?source=rss-d3a3f1caf73e------2</link>
            <guid isPermaLink="false">https://medium.com/p/cd5093f2b38c</guid>
            <category><![CDATA[proxy]]></category>
            <category><![CDATA[free-money]]></category>
            <category><![CDATA[burgers]]></category>
            <category><![CDATA[beer]]></category>
            <dc:creator><![CDATA[Mario Krvaric]]></dc:creator>
            <pubDate>Wed, 24 Feb 2021 11:12:48 GMT</pubDate>
            <atom:updated>2021-02-24T11:12:48.583Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8VHc_n_PoKZ2UocV6UgrCA.jpeg" /><figcaption>“Burgers! The cornerstone of any nutritious breakfast.” — Jules Winnfield</figcaption></figure><h3>TL;DR</h3><ul><li><a href="https://packetstream.io/?psr=19qG">Sign up to PacketStream</a></li><li>Download PacketStream app</li><li>Earn money</li></ul><p>Sounds too good to be true? Well, it’s not entirely free.</p><p><strong>Let me explain in a few short sentences.</strong></p><p>I have found a residential proxy service for my project FitAlert which helps me on both sides. You can buy traffic from proxy provider PacketStream.io. Also, you can sell traffic to PacketStream and earn money.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u6usug2frndlpdp6XEcwyw.png" /></figure><h3>Why burger?</h3><p><strong>“Burgers! The cornerstone of any nutritious breakfast.”</strong> — Jules Winnfield, Pulp Fiction</p><p>Also, I love burgers — that’s why. You can buy yourself a steak or a bottle of wine if you wish, money is yours.</p><h3>What means selling traffic?</h3><p>PacketStream pays their users to sell their traffic. You have to install PacketStream app and let it run in the background. When somebody is accessing some URL through their proxy service, it chooses one IP to do that. In a large pool of 77M users selling traffic you get randomly selected to provide it.</p><h3>How much can you earn?</h3><p>That really depends on a few factors: how many PacketStream users are active in given moment, how fast is your internet and what countries somebody have chosen. <strong>Supply and demand.</strong></p><p>If you sell 10GB of traffic each day — that’s <strong>1$ a day or 30$ a month</strong>. Enough for a quality burger and beer.</p><p>Is selling 10GB of traffic each day too much? Not really, <strong>1 hour of watching 1080p YouTube video</strong> (or listening to your favorite music in background) <strong>equals ~1.65GB.</strong></p><h3>How to start?</h3><p>It’s simple:</p><ul><li><a href="https://packetstream.io/?psr=19qG">Sign Up to PacketStream using my referral link.</a></li><li>Download an app for your Windows, Linux or Mac.</li><li>???</li><li>Profit. <strong>Earn money while doing nothing</strong></li></ul><h3><strong>Where is the catch?</strong></h3><p>You can’t know what kind of traffic will go through your IP. Somebody may be using PacketStream to scrape ecommerce websites or visit adult websites. Decision is up to you.</p><p>If you have a limited bandwidth on your internet — i don’t really recommend using it. If you’re paying for 15GB to your ISP, it may consume it really fast.</p><h3>Will it kill your battery or consume your whole bandwidth?</h3><p>No, probably not. I’m using it on my Mac for 2 weeks so far and I haven’t noticed that my laptop is any slower than before or it consumes too much traffic so I can’t watch YouTube or something like that. It’s running in the background, <strong>using few megabytes</strong> of your bandwidth in hour or so. For each GB of traffic that goes through your network you get 0.1$.</p><h3>Disclaimer</h3><p>All links in this post contain referral link — which means I’ll get 20% on top of what you earn through PacketStream — but it won’t take your cut.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cd5093f2b38c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[[MySQL 8] Error! the server quit without updating pid file]]></title>
            <link>https://medium.com/elea-online/mysql-8-error-the-server-quit-without-updating-pid-file-d807dacfd43a?source=rss-d3a3f1caf73e------2</link>
            <guid isPermaLink="false">https://medium.com/p/d807dacfd43a</guid>
            <category><![CDATA[error]]></category>
            <category><![CDATA[high-sierra]]></category>
            <category><![CDATA[mysql]]></category>
            <category><![CDATA[mac]]></category>
            <dc:creator><![CDATA[Mario Krvaric]]></dc:creator>
            <pubDate>Sat, 28 Jul 2018 21:44:31 GMT</pubDate>
            <atom:updated>2018-07-28T21:44:31.973Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4Y-ziDRgvqva11kSbpo3Vw.jpeg" /><figcaption>Error! the server quit without updating pid file</figcaption></figure><p>After upgrading to MySQL 8.0 on my MacBook I’ve experienced this issue and it took me a while to find a solution. My Laravel application didn’t work, I couldn’t do anything related to my database. SequelPro also didn’t want to connect to the database.</p><p>The problem relies on that your software does not support the caching_sha2_password plugin.</p><p>Solution to this issue is for you to consider using the mysql_native_password as a default authentication for your MySQL 8 server.</p><p>Add this to your configuration file:</p><pre>[mysqld]<br>default-authentication-plugin=mysql_native_password</pre><p>In order to see where is located your configuration file run this:</p><pre>mysql --help | grep cnf</pre><p>After applying this fix, restart your mysql server and it should start without an error.</p><p>Hopefully, this fixed your problem and saved you some time.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d807dacfd43a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/elea-online/mysql-8-error-the-server-quit-without-updating-pid-file-d807dacfd43a">[MySQL 8] Error! the server quit without updating pid file</a> was originally published in <a href="https://medium.com/elea-online">Elea Online</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[This is how will you use the most out of the Facebook ads]]></title>
            <link>https://medium.com/elea-online/what-facebook-knows-about-you-and-how-to-use-it-for-marketing-6e4cdf4f7dc0?source=rss-d3a3f1caf73e------2</link>
            <guid isPermaLink="false">https://medium.com/p/6e4cdf4f7dc0</guid>
            <category><![CDATA[facebook-ads]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[audience-targeting]]></category>
            <category><![CDATA[marketing]]></category>
            <category><![CDATA[facebook-marketing]]></category>
            <dc:creator><![CDATA[Mario Krvaric]]></dc:creator>
            <pubDate>Wed, 04 Apr 2018 11:38:56 GMT</pubDate>
            <atom:updated>2018-07-17T20:02:54.459Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4B7sekjGt2Jv2mY2Gw8FdQ.jpeg" /><figcaption>Image source: lynda.com</figcaption></figure><p><strong>Originally published at </strong><a href="https://www.elea-online.com/blog/what-facebook-knows-about-you-and-how-to-use-it-for-facebook-ads"><strong>eLea Online’s Blog</strong></a><strong>.</strong></p><p>You have probably heard of a scandal with Facebook and Cambridge Analytica that is all over the news. 50 million Facebook profiles data taken and used for elections. Sounds terrifying? I don’t think so.</p><p>Let me explain you why is that “normal” today and how and why everybody does that. A short introduction into what happened between Facebook and Cambridge Analytica.</p><p>Facebook had — and still provides an API for accessing user’s data with user’s permission. Every time you log in to some website with Facebook you are being asked if you are granting access to the third party app to your Facebook’s data such as name and email (most of the time, except if a third party app asks for an additional data). A few years ago there was less security and fewer permissions to ask for before getting data so it was much easier to get it.</p><p>Somebody has built a quiz app which people massively used and gave access to fetch profile info. Later, he sold fetched data without permission to Cambridge Analytica — which they used for a Trump campaign — at least those are claims.</p><h4>What they could have done with that data?</h4><p>By analyzing data they had they could have predicted personal profiles of people, see their interests and get some conclusions. For example: if some state had less Trump voters they could have invested more into marketing for that state so they gain more voters.</p><h3>The scary part</h3><p>If they had only user’s info and profile data — how they could know so much about those people and how that data may have helped for a political campaign? What could they do if they had more data?</p><blockquote>The world’s most valuable resource is no longer oil, but data.</blockquote><p>In 2018, today’s reality everybody has access to a bunch of your data and they know a lot about you. Data is a very valuable asset if it’s analyzed properly. <br>Facebook is the not only site that collects data about you, there are many other such as Google, YouTube, Microsoft, Snapchat and many smaller companies. Almost every site has tracking tools to gather data they need, such as your IP, country, city, demographics, a previously visited site, your age etc.</p><p>Google Analytics is a popular tool that helps website owners see information about their’s visitors. Every visitor to any site has it’s own “digital fingerprint”. There are tools and techniques to follow every visitor on any website or mobile application anonymously but get their profile, interests etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AV-NNd22qu5zWY0-RNe-dA.png" /><figcaption>Google Analytics</figcaption></figure><p>For example: I can see that 5.16% of my website visitors are Value Shoppers and they have bought something on the Internet in the past. 5.04% are interested in technology, and the list goes on.</p><p>Since many sites use Google Analytics for collecting stats, they also help “track” user all over the internet — so it’s also easier to create a more precise profile of the user.</p><h4>How do they know that much about me?</h4><p>Data mining. All your actions on the web are being saved. If you follow many traveling blogs on Instagram — you will be marked as interested in traveling. Did you search car parts last night on eBay for BMW M5? You may see in following days more ads on the internet about BMW M5 parts — if you click them often it will be assumed that you own a BMW M5.<br>You may not want to search for a tutorial how to assemble C4 bomb because FBI may knock on your doors.</p><h4>How much Google know about me?</h4><p>Dylan Curran posted on Twitter to show people how much Google knows about them. You can see all Google knows about you, but when you see it becomes scary. They collect locations you visited, your interests, the most used stickers and more.</p><h3></h3><p>Want to freak yourself out? I&#39;m gonna show just how much of your information the likes of Facebook and Google store about you without you even realising it</p><h3>Is this legal?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/525/1*DFIcX0levePPNU9vROCc2w.gif" /><figcaption>Image source: ReactionGifs.me</figcaption></figure><p>Just kidding. <strong>It is legal</strong>. Each site you visit has cookie policy, terms of service and if you register/login you agree to terms of conditions of using service (yeah, that checkbox with a link you never read) which states they have right to collect and use data about you.</p><h3>Privacy</h3><p>Websites and businesses must respect your privacy and they can’t gather data about you without agreement or acknowledgment.</p><p>All data is being (mostly) anonymized and info such as your name and email is not being saved or used for tracking. You have your own digital fingerprint which marks you — and that is your behavior history. There is no worry about having someone knocking your door because he targeted you via a Facebook ad.</p><h4>Cookie directive</h4><p>Almost all websites use cookies — little data files — to store information in peoples’ web browsers. Some websites contain hundreds of them.</p><p>It was designed to protect online privacy, by making consumers aware of how information about them is collected and used online, and give them a choice to allow it or not.</p><h4>GDPR</h4><p>Global Data Protection Regulation is being introduced by EU to protect your data. Websites should not collect data they don’t need and you can ask them at any moment to delete all data they have about you. Google introduced its option to be forgotten and you can ask Google to remove results about you.</p><h3>Data use</h3><p>You may ask yourself what is the point of this post, except spreading conspiracies that they will take over the world with information that you watch cats at work and you like Japanese culture. Facebook has over 1 billion users. Imagine how much data they have. Those are not gigabytes, those are farms of servers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*YWWcjz6oyvICD7CK1KwuGg.jpeg" /><figcaption>One of Facebook’s datacenters</figcaption></figure><p>No human will read that data ever. Not in Facebook, Google or any other company. Developers build systems that save and use that data, but they don’t have access to it. I’ve worked on such projects as a developer many times so far and I never had access to actual data. Companies mostly are trying to ensure and prevent data leaks — at the end, it may be expensive for them (just look what happened with Facebook’s shares).</p><h3>Marketing, data, and ads.</h3><p>Most of the collected data will be used for marketing. Facebook’s main part of a business is selling you. All your likes, interests, friends, photos and traveling check-ins say a lot about you — they know more about you than you know about yourself.</p><p>Facebook serves ads based on your interests. Advertizes who use Facebook for marketing have powerful tools to decide who is going to an ad. A bright side of it is that you see ads that are in your area of interests. If you don’t like cars you probably won’t see a boring ad about cars. Facebook marketing has progressed through the time and offers many options.</p><h4>What’s in it for me?</h4><p>Let’s presume that you have a business idea, a product or you are just person interested in marketing and digital media. You know your audience and targeted people, but you don’t know how to reach them. If you know people’s interests you can target them using that. You will save yourself big amounts of money by targeting people who will be interested in your ad, instead of spending money on showing an ad to people who don’t care.</p><p>How to target people interested in your topic and how to test what brings you the biggest return on your investment is actually very complex process and takes time to master by yourself. My suggestion is to start learning with <a href="https://www.elea-online.com/course/search?q=facebook&amp;utm_source=medium&amp;utm_medium=blog_post&amp;utm_campaign=facebook_blog">facebook ads course</a>.</p><h4>Facebook ads</h4><p>Until I needed to use Facebook ads I didn’t even know how powerful it is. It allows me to serve ads to my targeted audience. Besides collecting data user enters they also aggregate data they have and create some minor predictions for you. Read the full list <a href="https://connectio.io/25-facebook-ads-targeting-ideas/">here</a>.<br>Here are few samples:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/434/1*F3Z6mafF9EChw4Q7H0tX5Q.png" /></figure><p>Facebook knows when is your anniversary.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/736/1*lrgXbRv-8SSTWshHZ4JgTw.png" /></figure><p>Yeah — you want to see an ad for birthday presents for your friend Mike who has a birthday soon, you don’t want to forget to buy him a present.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/610/1*TsLr72p6EEouGrWkOiyBoQ.png" /></figure><p>You don’t want to show a Facebook ad about guns to Liberals.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/821/1*sZRT0a36TQYXYKpss9baMw.png" /></figure><p>Dear Facebook, please don’t show my facebook ad to people using Internet Explorer so I don’t have to spend weeks optimizing my site for them.</p><p>Google offers a similar experience in serving ads. This is a powerful marketing tool for advertisers — and gives a better experience to people by showing them only topics they are interested in.</p><p>To find out more how powerful tool for marketing it is to <a href="https://www.elea-online.com/course/search?q=facebook&amp;utm_source=medium&amp;utm_medium=blog_post&amp;utm_campaign=facebook_blog">learn Facebook ads</a>.</p><h3>Business Intelligence</h3><p>Business intelligence is teams of people in a niche in business and development that creates strategies and analyzes data samples to decide how it is going to be used. This is an industry that grows rapidly and takes a place on the market. They create strategies such as if you own an Alfa Romeo to serve you ads with Alfa Romeo parts. It takes both understanding of business needs and development capabilities to develop such systems. <a href="https://www.elea-online.com/course/search?q=business+intelligence&amp;utm_source=medium&amp;utm_medium=blog_post&amp;utm_campaign=facebook_blog">Learning business development</a> takes time, but at the end, it is worth when you <a href="https://www.elea-online.com/course/search?q=business+intelligence&amp;utm_source=medium&amp;utm_medium=blog_post&amp;utm_campaign=facebook_blog">learn how to read your data</a>, how to use it and what to collect for more precise information.</p><h3>Machine Learning</h3><p>Predicting user’s behavior is being a step ahead of your competitor. Machine learning is a process of feeding computer algorithms to understand more about some topic. If you feed an algorithm for image recognition with 1 million pics of cats — it will be able to recognize a cat on any image.</p><p>By knowing a fact that one person is looking to rent an apartment in London and searching for jobs in London you can predict it’s likely to move to London. To ensure that fact you encounter more data about that person. <br>If person likes sunny beaches (born on Malta, shares only sunny pictures on Facebook), has very low income (bought and searched only for very cheap items on Amazon) and poor job background (his LinkedIn says he wasn’t employed for last 5 years) and doesn’t speak English very well (can be seen from comments on Facebook and YouTube) — odds may not have been in his favour and he may be marked as not likely to move to London.</p><p>If you got intrigued by Machine Learning and what can be done with it start a <a href="https://www.elea-online.com/course/search?q=machine+learning&amp;utm_source=medium&amp;utm_medium=blog_post&amp;utm_campaign=facebook_blog">machine learning course</a> today.</p><h3>Conclusion</h3><p>Facebook, Google, and many others know a lot about you and you can’t do much about it. You shouldn’t worry about it as long as you don’t do anything illegal because there is no harm to you — and the only way to remove your data is not to use the internet.</p><p>On the other hand, if you want to use the power of today’s access to data, analyses and make money with it — you should <a href="https://www.elea-online.com/category/web-development?utm_source=medium&amp;utm_medium=blog_post&amp;utm_campaign=facebook_blog">learn programming</a> or <a href="https://www.elea-online.com/course/search?q=facebook&amp;utm_source=medium&amp;utm_medium=blog_post&amp;utm_campaign=facebook_blog">learn facebook ads</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6e4cdf4f7dc0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/elea-online/what-facebook-knows-about-you-and-how-to-use-it-for-marketing-6e4cdf4f7dc0">This is how will you use the most out of the Facebook ads</a> was originally published in <a href="https://medium.com/elea-online">Elea Online</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why you should learn PHP and Laravel 5.6 in 2018]]></title>
            <link>https://medium.com/elea-online/why-you-should-learn-php-and-laravel-5-6-in-2018-ccf6e0a9efe0?source=rss-d3a3f1caf73e------2</link>
            <guid isPermaLink="false">https://medium.com/p/ccf6e0a9efe0</guid>
            <category><![CDATA[symfony]]></category>
            <category><![CDATA[php]]></category>
            <category><![CDATA[course]]></category>
            <category><![CDATA[sylius]]></category>
            <category><![CDATA[laravel]]></category>
            <dc:creator><![CDATA[Mario Krvaric]]></dc:creator>
            <pubDate>Tue, 27 Mar 2018 21:43:43 GMT</pubDate>
            <atom:updated>2018-07-01T11:24:49.039Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PJA_dQ_fsQREl20dw2CPNw.jpeg" /><figcaption>Image source: <a href="http://www.areusdev.com/">http://www.areusdev.com/</a></figcaption></figure><p>Originally published at <a href="https://www.elea-online.com/blog/why-you-should-learn-laravel-56-and-php-in-2018">Elea Online Blog</a>.</p><p>I have been asked many times why do I still use PHP and why it’s my tool of choice. I started using and <a href="https://www.elea-online.com/course/search?q=php&amp;utm_source=medium&amp;utm_medium=blog&amp;utm_campaign=blog_post&amp;utm_term=learn_php">learning PHP</a> 7 years ago and I still stick to it.</p><p>My first touch with PHP was when I installed Wordpress theme and everything fell apart, errors everywhere. Googled for some of those errors and found a solution. Even I didn’t know anything about programming I have solved my issues.</p><p>A few months later I wanted to start my own blog about tech and gaming — all together with an idea to learn PHP so I built it myself. Back in 2011, there were so many resources to learn PHP, the community was big enough to google errors and find a solution quickly. I first started with <a href="https://www.youtube.com/user/thenewboston">thenewboston</a> (PHP Tuna!), <a href="https://www.youtube.com/user/betterphp">betterphp</a> and phpacademy. I am still thankful to them for getting me into this world of programming, detailed explanations and teaching me and many others.</p><p>Even since then, 7 years later I still use and learn PHP. Many things have changed for me and in industry. Starting with first my own built blog, procedural PHP code mixed with HTML and CSS (#softwaregore), building own framework and getting to a level where I understood why to use modern PHP frameworks.</p><h3>PHP is easy to learn</h3><p>Even I started with PHP just because I didn’t know about any other programming language for the web (besides frontend stuff) in the beginning and I never looked for anything else later. The biggest double-sided sword about it that you can write procedural code as well do Object Oriented Programming.</p><p>Procedural code is pretty easy to understand if you don’t know how stuff works in the background. Writing simple “echo” command will write output to your screen. Setting up the environment is easy on Windows, Mac or Linux — just use XAMPP, MAMP or LAMP.</p><p>As you learn and work in PHP you should move to OOP principles, learn design patterns and move on. They are here to solve most common problems and that is why most of the developers use it.</p><p>The Internet is covered with various <a href="https://www.elea-online.com/course/search?q=php&amp;utm_source=medium&amp;utm_medium=blog&amp;utm_campaign=blog_post&amp;utm_term=php_courses">PHP courses</a> which are available on many platforms. A huge community is built by time and there are many people willing to help you when you get stuck.</p><h3>High demand for PHP</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FYdM0Br5zZftHQwu6b3OIw.png" /></figure><p>More than 80% of the internet is powered by PHP. PHP developers are high in demand and this keeps growing. Due to many available content management systems, frameworks and a good compromise of speed/code quality/development speed many companies as well choose PHP as their tool to build their products.</p><p>Some of the biggest and the most popular websites are built mainly with PHP in the backend, for example, Facebook, Yahoo, Wikipedia, Wordpress CMS and many others.</p><p>A Question many will think of is — is it worth to work in PHP? Can I make enough for a living? Of course, you can and it’s worth. Depending on which CMS/framework you work with salaries are keeping industry standards as others programming languages.</p><h3>PHP in 2018</h3><p>PHP has gained big community over time, people are building frameworks and keep optimizing apps they have built. PHP itself has made a long path up to now. What can be seen in their releases is they keep improving and keep backward compatibility. Long-term support versions have phases when they provide bug fixes or security fixes — which is very important if you get stuck with a huge system which can’t be rewritten that soon.</p><p>PHP 7 release in 2017 has brought us many new features, security and speed improvements. What many people have bragged is that PHP is type loosely, not OOP enough, fortunately, they have improved that. PHP almost doubled its speed from PHP 5.6 to PHP 7:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*iYxmg1LomAQG_u0z7nlfCg.jpeg" /><figcaption>Image: zend.com</figcaption></figure><h3>PHP Frameworks</h3><p>If you are using PHP professionally you are probably gonna end up using some of the most popular PHP frameworks — and there are many reasons why you should. They solve most common problems when it comes to PHP — such as security issues, keeping the standard for external packages, they provide rapid development, easier maintenance etc. In the beginning, many developers wrote PHP their own way — but by time <a href="https://www.php-fig.org/psr/">PHP PSR</a> has arrived and brought standards to the community — by the community in term of application structure, code style, organizing files etc. The most popular and my frameworks of choice are <a href="https://laravel.com/">Laravel</a> and <a href="http://symfony.com/">Symfony</a>. There are many other such as Yii, Zend, Phalcon, CodeIgniter etc. Since I personally have the most experience in Symfony and Laravel I’m going to write more about them in this post.</p><p>Taylor Otwell, creator of Laravel announced on Twitter that Laravel overcomes Ruby on Rails by popularity on Github — which have been here for a longer time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fHoi9rlapXPtdzZUEm4Q4g.png" /><figcaption>Laravel 2018, Github</figcaption></figure><h3>Laravel 2018</h3><p>Laravel is one of the most popular PHP frameworks for building web applications. With its various useful features it lets developers build their websites fast and without the struggle. Also, it’s very fluent, user friendly and easy to learn and understand.</p><h4><a href="https://www.elea-online.com/course/search?q=laravel&amp;utm_source=medium&amp;utm_medium=blog&amp;utm_campaign=blog_post&amp;utm_term=learning_laravel">Learning Laravel</a> is easy</h4><p>Laravel is a framework that comes with many features that simply work out of the box. The biggest difference — in my opinion — between Symfony and Laravel is that it’s extremely easy to start and learn Laravel. Laravel’s console called <strong>Artisan</strong> provides many helpers to help you with rapid development. Authentication works out-of-the-box for user login, registration, password reset, sending emails etc. There is almost no configuration to change to start. Excellent <a href="https://laravel.com/docs/5.6">Laravel documentation</a> gives you step by step course how to use it.</p><p>Best way to start learning is by watching Laravel course. It will give you quick overview how to and what where to find. What Laravel course may not contain are some details, function parameters etc. Reading documentation can give you more insight into all available features.</p><p>Laravel with its famous facades gives you an opportunity to build app faster by not overcomplicating your first MVP. Don’t take its possibility for rapid development as a bad thing. Laravel from my experience also scales very well and you can optimize and configure it as you want.</p><h4>Laravel 5.6</h4><p>With Laravel 5.6 release they showed how much they care about details which can save you lots of time. <a href="https://laravel-news.com/laravel-5-6">Laravel news announced</a> more details about new features. I haven’t seen any framework before give this much attention to creating user friendly experience.</p><p>One of the introduced new features gives you the option to schedule queued jobs per server which can be very useful if you have a specific server for sending emails.</p><p>Writing console commands sometimes can be harder than using a browser to generate and test something. They also brought nice error reporting to console. Upgrading to Laravel 5.6 also doesn’t take much time.</p><h4>Laravel ecosystem</h4><p>Laravel has a huge community and it has well developed ecosystem. It’s easy to take your Laravel application from development to production.</p><p><a href="https://envoyer.io/">Envoyer</a> lets you deploy your applications with zero downtime and takes care it goes seamlessly as it can go.</p><p>In Laravel 5.5 version which became supported by many packages in 2018 and got ready and steady for production, they announced <a href="https://horizon.laravel.com/">Laravel Horizon</a>. Any bigger application may come in a need of queues and its monitoring — a problem which they solved with Horizon.</p><p>What I personally like about Laravel is a huge availability of packages and <a href="https://laravel-news.com/5-laravel-helpers-make-life-easier">helpers</a> to make your life easier.</p><h3>Symfony 2018</h3><p>Symfony as a framework is bigger than Laravel and exists for a longer time. It’s enough to say that Laravel is built on the top of Symfony components. Personally, I use it for larger projects when multiple developers are involved due to its more strict architecture.</p><p>Symfony gives you easier upgrading to newer versions because they care more about backward compatibility and comes with more long term plans what should be done. On the other hand, there are bundles that may lock you to older versions.</p><h4>Sylius</h4><p>After working with <a href="https://sylius.com/">Sylius</a> — eCommerce framework built on top of Symfony I saw once again the power of it. It’s super easy to install and setup. Also, it works out of the box as a web shop that can be easily extended. Completely covered with tests and implements all Symfony best practices. It’s a great resource to learn and see whole power of Symfony and its implementation. I like to call it as “Symfony tutorial — how not to break project”.</p><h3>PHP vs competition</h3><p>PHP is not only available programming language. There are many others which are also popular on the web. StackOverflow (ask the community for help or help community) created a <a href="https://insights.stackoverflow.com/survey/2018">survey for developers</a> in 2018 which gave more insights into developer’s popular technologies, salaries, demographics and more about their jobs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F_2kWIfcRlpZoWghNTMTCQ.png" /><figcaption>Source: stackoverflow survey</figcaption></figure><p>As can be seen in this infographic PHP is related to many other technologies and you should learn MySQL and JavaScript to have complete understanding and power to write applications.</p><h3>Laravel 5.6 — 2018 course</h3><p>If this article hooked and motivated you about PHP and learning Laravel you should start today. The web is still in high demand it keeps growing, take chance and start learning today. I recommend learning on <a href="https://www.elea-online.com/course/search?q=laravel&amp;utm_source=medium&amp;utm_medium=blog&amp;utm_campaign=blog_post&amp;utm_term=elea_online">Elea Online</a> which brings you handpicked high quality courses on various platforms<strong>.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ccf6e0a9efe0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/elea-online/why-you-should-learn-php-and-laravel-5-6-in-2018-ccf6e0a9efe0">Why you should learn PHP and Laravel 5.6 in 2018</a> was originally published in <a href="https://medium.com/elea-online">Elea Online</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>