background preloader

Laravel

Facebook Twitter

Laravel Collective. Installation Begin by installing this package through Composer.

Laravel Collective

Edit your project's composer.json file to require laravelcollective/html. Next, update Composer from the Terminal: composer update Next, add your new provider to the providers array of config/app.php: 'providers' => [ 'Collective\Html\HtmlServiceProvider', ], Finally, add two class aliases to the aliases array of config/app.php: Laravel-5 REST API and CORS. Have been building a REST API using Laravel 5 as the backend and Backbone as Frontend.

Laravel-5 REST API and CORS

One thing that made me stuck is to get the CORS (Cross-Origin Resource Sharing) working right. Designer une API REST. La période de fêtes approchant à grands pas, nous vous proposons une “Quick Reference Card” sur le design des API dont l’objectif est de synthétiser les bonnes pratiques de conception et de design d’API REST.

Designer une API REST

Télécharger l’API Design – Quick Reference Card « Vous aimez les API, le Web ? » : Rejoignez nous! Si vous avez plus de temps, le présent article reprend – point par point – les éléments de la « carte de référence », en étayant et justifiant les propositions. Bonne lecture! Lorsque l’on souhaite concevoir une API, on est rapidement confronté à la problématique du « design d’API ». La mise en oeuvre d’une API à l’état de l’Art nécessite de prendre en compte: Laravel Collective. Exception - Laravel 4.2 to 5 Class 'App\Http\Controllers\Controller' not found. How to install Laragon and Laravel 5 on Windows. Laravel is a rapid web application development designed for Web artisans.

How to install Laragon and Laravel 5 on Windows

Laravel 5 is just released with some cool features. Let check it out. Since I’m using Windows so I’ll go with Laragon. Why not XAMPP or WAMP? Laragon is extremely fast, friendly menu, has all services we need ( Mysql, Memcached, Redis, Apache,..) and better than all it supports Laravel (4,5) as built-in features. Why not Homestead? Fine but remember to fix all issues here first. Barryvdh/laravel-debugbar. Laravel 5 AngularJS Tutorial. Laravel 5 AngularJS Tutorial.

Laravel 5 AngularJS Tutorial

Introduction In this tutorial, we are going to create a simple CREATE, READ, UPDATE, and DELETE CRUD application. We will use Laravel 5 for the backend and AngularJS for the front end. In accordance with the laws of beauty, we will use twitter bootstrap to add beauty to our simple application. AngularJS is a powerful JavaScript client-side Model-View-Controller (MVC) framework. This tutorial assumes you are familiar with basics of Laravel 5, have Apache, MySQL, PHP, Composer and optionally Bower installed. Laravel framework architecture. Laravel is a MVC framework.

Laravel framework architecture

MVC means Model view Controller. Also see Step By Step PHP Tutorials. Model: Models are the real world entities. In other words, models are the real world entities conventions in the form of data at website. View: View refers the content (HTML pages) which is served to the user/ visitor. Laravel Homestead on Windows 8 ~ Makin Stuff. I've tried to set up Laravel's Homestead on Windows a few times before.

Laravel Homestead on Windows 8 ~ Makin Stuff

Until now I always gave up because I just ran out of time trying to troubleshoot one error after another on both of my Windows machines. The Homestead setup guide and Laracast videos make it look so freaking easy, but they are not targeting Windows users so it sometimes becomes a very frustrating experience for us... and usually ends with reverting back to your XAMPP or WAMP installation and a promise to try again when you have more time. I finally had some time to try this again, and although there were a lot of steps and some annoying errors it was actually pretty easy to get going! Warning - Before you begin you should verify in your system's BIOS that Intel Virtualization Technology is enabled.

It will save you some troubleshooting time if you check now before you get started. Getting Started with Laravel Homestead. The next step is to setup your Homestead.yaml file.

Getting Started with Laravel Homestead

This is really the only file that you need to go into to edit. So go ahead and open it up in your favorite editor. IP, Memory, CPUs. Talks - Matt Stauffer on Laravel, PHP, Frontend development. Hotel booking engine with Laravel 5 and AngularJS. This tutorial is the first of a serie where we explain how to create an hotel booking system from scratch using Laravel 5.1 and AngularJS.

Hotel booking engine with Laravel 5 and AngularJS

In the booking engine we will use AngularJS to create a single page application, the front end, where the final user can make reservations and the hotel owner can manage rooms, price and reservations. On the backend side we will use Laravel to create all the needed REST API to serve the application.It will be a modular tutorial, so let’s start by create the data model and some basic REST api to serve the frontend.

Data Model To store all the needed information about the hotel rooms, customers, reservations and prices we need a total of 5 tables. Créer une application : l’authentification. Access denied for user 'homestead'@'localhost' laravel 5. After install laravel 5 successfully and setup database configuration correctly. when i go to auth/register page and filling up user details and click on submit button to process and i found an error (Access denied for user ‘homestead’@’localhost’ laravel 5) like below PDOException in Connector.php line 47: SQLSTATE[28000] [1045] Access denied for user ‘homestead’@’localhost’ (using password: YES) so i think there is problem with database connection or may be issue with user permission. so i tried more time to solve and serched over internet for solution. after more search i found a solution and really a good solution so i am sharing this solution for solve this type of error may be some of string different in this error like [28000] or [HY000] etc.

Access denied for user 'homestead'@'localhost' laravel 5