Saturday , 25 May 2019

THE WEB TIER

Recreate STORIES between WEB DEVELOPMENT & YOU

Snippets

Easy Excel Imports in Laravel

Importing Excel files come handy when you’re building some large scale inventory kind of an application where you need to import set of data from CSV or excel files. In this short tutorial, we’ll go through on importing excel files with Laravel & look on for some crazy hacks and tricks in between.

Going Multilingual with Reacti18next

To expand the business across the globe your application needs some specific changes. There are many ways to handle localization in an application but today we will have to look at how to handle it on frontend using ReactJs,i18next.

Upgrade Node & npm on your MacOSX

Tired of trying for options to upgrade your npm and node on you mac? Here, follow these two simple commands to get the latest or stable release and yes, forget the rest.

Laravel __() Helper function for Localization

Previously Localization in Laravel was done by creating separate directories for each locales and place in under resources/lang/ and add key value pairs to every single keyword in a number of files as per their modules.

Laravel CRUD Validation

When it comes to validation in Laravel. Developers often refer to using separate Requests to achieve it. Now for creating and updating, rules might get a little bit tricky. But we've got you covered.

Convert String to Carbon Instance

While Developing applications in Laravel, there comes situations where you have date in simple string format. For instance getting raw response from an API. But you want to convert that string into Carbon instance and use the Carbon helpers on it. Well there's a simple solution to it.

Alter Tables in Laravel with change method

Laravel ships in with the awesomeness of Database Migrations which allows you to version control your database. But there are number of events when you are required to change the datatypes or attributes assigned to your table columns inside of your migrations.

Download Files with Axios

You must be familiar with axios calls for API consumption, but what about getting the files in response and render those files to the user for download. We got your covered, the below snippet is tested and works well.

Handling file Inputs in PHP with CURL

Handling files while working with APIs are always a pain. While working with API calls, the most common solution is cURL for sure for requesting & receiving data through the valid endpoints.

Take Me Top