December 3rd 2015 marked the official release of PHP 7, the new version of the popular programming language. The latest PHP version released was PHP 5 in 2004, more than 11 years ago. For this reason developers’ expectations are very high for this new version. In this article I will talk about the main improvements of PHP 7.
Continuing the tutorial about Laravel, I will show you how to start a new project. We will install the framework, dependencies, and define the necessary settings. This application is available on Github at github.com/oscardias/desenvolvendo_com_laravel, and with every new article I will create a new tag in the repository to facilitate downloading. The code variables and comments are in portuguese.
Later than other languages, PHP finally won its dependency manager. Composer makes life easier for developers by simplifying the management of packages and dependencies of your application. What was needed to be done manually or through the PERL or PECL can now be done using Composer. Simply create a file defining which packages your application needs to run and Composer does the rest for you.
Git is a free version control system to manage the source code of your projects. As well as other similar systems, Git allows you to keep track of changes made in your application, allows you to separate the implementation of new features and bug fixes of your production version, in addition to assisting in your project’s management. In this post I will explain how to install and how to use the main functions of Git. As a complement I’m going to talk a little bit about GitHub, too.
In this post I will start a series of articles about the Laravel framework. Originally developed by Taylor Otwell, Laravel has attracted more and more developers. The framework was created using the latest features of PHP, in addition to being completely rewritten in version 4. We’ll see Composer, namespaces and the directory structure of the Laravel. For whom is a PHP developer for a long time and still haven’t worked with the Laravel, there may be some resistance, but the change is worth it. For beginners, it is a way to enter the world PHP writing clean and quality code.