Laravel 5.3 changes the “app” folder

As we are getting closer to the launch of Laravel 5.3 new features, seem to come out almost daily. The latest is a change to the “App” folder and in a move to simplify it, the Events, Jobs, Listeners, and Policies folders are now gone.

laravel-app-folder-changes

It remains fully backward compatible and if you run any Artisan “make:” command related to these features the folder will get added back.

This change is a purely stylistic and for those just starting with the framework it should reduce the cognitive load to get going.


Quick Links
Updated throughout the day. Add yours.


Keep track of who you meet at conferences with ConFOMO

ConFOMO is a Laravel and Vue.js application written by Matt Stauffer and Michael Dyrynda with the goal of giving you an easy way of keeping up with how you want to meet at conferences.

You signup using Twitter, then add the Twitter handle for each person you’d like to meet. During the event as you meet people just hit the button saying, “Mark as met.”

confomo-online-friends

Another feature is a public URL like this one where you can add your Twitter handle saying you’d like to meet me.

The app itself was originally built back in 2014 when Matt wanted to track who he wanted to meet at Laracon. This new release is a rewrite with the help of Michael and it’s launched just in time for next week’s Laracon.


HTTPoxy “Proxy header” Vulnerability

From the HTTPoxy announcement:

httpoxy is a set of vulnerabilities that affect application code running in CGI, or CGI-like environments. It comes down to a simple namespace conflict:

  • RFC 3875 (CGI) puts the HTTP Proxy header from a request into the environment variables as HTTP_PROXY
  • HTTP_PROXY is a popular environment variable used to configure an outgoing proxy

This leads to a remotely exploitable vulnerability. If you’re running PHP or CGI, you should block the Proxy header now.

This site includes fixes for popular web servers and Guzzle has also released a new version (v6.2.1) to address this.


Segment: Analytics for Lazy Developers (Sponsor)

Segment

How many times have you been asked by someone in another department to “just drop in” a javascript snippet for an analytics or advertising tool? Those pesky requests slow down your development workflow and can sometimes cause your site to lag. But, they also help your team understand how users actually use your product.

How can you stay focused on shipping products and still give the business the insights they need? All of these tools are collecting the same basic data points: who did something, what did they do, and where did they do it. There must be a better way to abstract this data and write cleaner code that’s more DRY.

Enter Segment, the last integration you’ll ever need. Track data with a single API and then send it to hundreds of different tools for analytics, marketing, and data warehousing. Write once, send everywhere.

turning-on-integration

The dashboard UI means it takes just minutes to turn on any of the different services available on the Segment platform. And on top of that, collecting data through one integration means there’s a single universal source of truth. That means you’ll spend less time tracking down data discrepancies and have more time to ship awesome new features.

Here’s the awesome stuff Segment has to offer:

  • Collect server, web, and mobile data with a single solution. We offer a REST API and have client libraries in your favorite language.
  • We automatically collect semantic events like “App Installed” for mobile apps and will soon be doing the same thing for eCommerce and other types of sites.
  • You get a built-in data warehouse. Forget about writing your own ETL procedures and maintaining the pipeline. We handle it for you. You can even bring your own Postgres of Redshift instance to Segment, and we’ll handle the rest.
  • Combine data from other cloud apps like Salesforce, Stripe, and Zendesk to create crazy powerful cross-platform analyses that would have taken you months otherwise.
  • Hundreds of integrations including error and performance monitoring tools like Rollbar and security tools like Castle.
  • A visual debugger to test your code and watch live data streaming through the Segment platform. Click into each API call to see the raw JSON and view any errors.
  • Segment stores your raw data in S3, so you can replay it into tools you want to integrate later.

Engineers at more than 7,000 companies including Atlassian, New Relic, IBM, and Intuit trust Segment as their customer data platform. There’s even a free-forever developer tier. Try Segment today.

Thanks to Segment for sponsoring the site this week via The Syndicate.


Github now supports Blade syntax highlighting

Thanks to James Brooks Github has just added support for Blade syntax highlighting on both your repos and Gists. This was added in from a pull request by James and then merged and deployed today.

Here is an example of a sample Gist showing it in use:

The highlighting should all happen automatically as long as you use the default .blade.php file extension.


PhpStorm 2016.2 is released

My favorite IDE, PhpStorm, just released their second release of this year and it includes a lot of great new features. Some of the highlights include:

Better PHP Language Support: Improved type inference, strict type inspection for PHP 7, better parsing of PHP 7 and PHP 7.1, and improved getter and setter generation for PHP 7 (and higher).

New Editing Experience: Dynamic live template for smart completion of function parameters; values of class constants shown in completion lists; possibility to filter out static methods from completion list; smart type code completion; and various @throws improvements.

Code Quality Analysis: Reworked Unused imports inspection for unused namespaces, functions, and constants; Return type inspection; and Dynamic call to static method inspection.

Frameworks, Tools, and more: Template projects, better Joomla! support, and Xdebug On Demand for CLI PHP Scripts.

Check out the preview of the new features below or view their what’s new page for all the new features.


LN 21: Laracon Live Stream, Laravel 5.3 Collection Where Changes

In this episode, we discuss Laracon Live Streaming, the new advanced where for Collections, and a few new apps and packages.

You can listen from the podcast site, subscribe in iTunes or Google Play.

Show Links


Josh – Laravel Admin Template with Crud builder (Sponsor)

Josh

Josh admin template + front end + CRUD generator is a bootstrap based admin panel and frontend built for Laravel developers.

Using CRUD you can quickly generate model, controller, views optimized for Josh look and feel.

It includes 100+ components like form builder, charts, data tables, image upload/resizing, shopping cart UI, and advanced modals.

Also login, registration, user management, and groups management coded for Laravel using sentinel and is ready to use.

Some of the features include:

  • Support for laravel 5.1 and 5.2
  • Many laravel examples added
  • Built with bootstrap 3.3.6
  • 70+ admin pages included
  • 10+ frontend pages included
  • 404, 500 pages included
  • Authentication and authorization is ready to use
  • HTML, PHP and Laravel versions included
  • Drag and drop form builder
  • 50+ chart examples
  • Calendar UI
  • Tables: search, copy and export to pdf,csv
  • Mailbox UI
  • Gallery, image upload, image cropping UI
  • Shopping cart UI

If you are starting a new Laravel project, JOSH will save tons of your time and gives excellent UI for your project.

Itís being updated continuously so you can get many more features and the best part is all updates are free for forever. Check it out today.

***

Thanks to Josh for sponsoring Laravel News this week.


Laracon US Live Stream

For the first time ever, Laracon US is offering a live stream plus early access videos.

When you purchase access on the day of the conference you will get an email link to access the stream and be able to watch all the talks except for the one by Ryan Singer.

Please note that in the event of technical difficulties or bandwidth issues, you will still have exclusive access to download the talk videos within 24 hours. Since proceeds from these sales will go to support the bandwidth for hosting the early access videos, they will not be processing refunds for issues with the live streaming.

We still plan on bringing the live blog here on Laravel News, but of course, video and audio is always nicer.


Code My Views

code-my-views

Code My Views is your on-demand development team. Offering services to provide a clean front-end so you can focus on what you enjoy, building the back-end.

The process is simple, send them your designs and within an hour they will give you a quote with a guaranteed delivery date. After that, their team will hand code the HTML and CSS (or SASS, SCSS, LESS) using the latest web standards.

Have no time to code? They also offer full MVP builds using Laravel and Vue.js. Take your idea to market by partnering with the talented Code My Views team.

***

Thanks to Code My Views for sponsoring Laravel News this week.