LARAVEL
How to build a Project Management App in Laravel 5 – Part 9
Create a collaborators directory in the resources/views directory and create a form.blade.php. In the form.blade.php, add this: [crayon-59599a9f864c4341274690/] Then go to your show.blade.php in your projects directory and add @include('collaborators.form') just immediately after the div that gives us information about the number of comments, [...]
How to build a Project Management App in Laravel 5 – Part 8
Let’s provide the ability to add Comments to the various tasks. Create a new folder named comments in the views directory and create a form.blade.php inside the comments directory. Move the part of the show.blade.php that has to do with the comment form into form.blade.php file like so: form.blade.php [crayon-59599a9f8c0d6403181412/] [...]
Laravel Eloquent For Days: Crud, Mass Assignment, Aggregates, Eager Loading
Eloquent is the ORM for Laravel and it is a house of treasures. Dive deep into it and you’ll see lots of quality, awesome and unused mansions lying within. This is the beginning of a series titled Laravel Eloquent For Days! There are several helper functions, tips, tricks and techniques you will be exposed to when dealing with [...]
Laravel 5.1 Intermediate QuickStart is Here!
Yesterday I wrote a post about how Taylor Otwell wrote a Beginner QuickStart for those looking to learn Laravel. Now, Today he has written an Intermediate QuickStart and it’s awesome. It’s so great to have such a legend in the industry simply creating avenues to make learning Laravel as easy as possible and creating a great community [...]
Manipulate & Verify Data Quickly Using Laravel Tinker
As developers, the terminal is our home and we can get, verify and manipulate several forms of data from there. Imagine a situation where you want to easily verify the data from your Model methods quickly or you want to ascertain the return data of a function in your Controller, you don’t have to open your browser and do all of that. [...]
Laravel 5.1 Beginner QuickStart is Here!
Laravel is an amazing framework. It is simple, easy and very elegant. The framework does a lot of the heavy-lifting for you already. One good thing I love about Laravel is the community and how members of the community strive to make the learning process easier and simpler daily. Taylor Otwell created a nice documentation for 4.2, and improved [...]
How to build a Project Management App in Laravel 5 – Part 7
When you click on a project to see the details, it shows the tasks, files and comments form. Let’s see how we can add tasks to each Project. Create a new folder named tasks in the views directory and create a form.blade.php inside the tasks directory. Move the part of the show.blade.php that has to do with the task form into form.blade.php [...]
How to build a Project Management App in Laravel 5 – Part 6
Let’s go to show.blade.php [crayon-59599a9f93c08172546727/] I have added the <a href="/projects/{{ $project->id }}/edit> link. So if you click on it right now, it shows an empty page. Let’s add the view for that. Go to ProjectController.php Add this to the edit function [crayon-59599a9f93c16519093257/] So it fetches the [...]
How to build a Project Management App in Laravel 5 – Part 5
We need to make a little adjustment. On the Sign In page, you will discover that if the email or password is wrong, it doesn’t show the user a message, it just blocks the user from gaining access. Let’s take care of that. Add this in: layouts/partials/alerts.blade.php [crayon-59599a9f95ad3945485866/] Go to AuthController.php [crayon-59599a9f95ae0697231005/] [...]
How to build a Project Management App in Laravel 5 – Part 4
We have the authentication system working and the dashboard is in place. Now, let’s start creating projects. We’ll do some clean up and re-arranging of the view and css files. create a sidebar.blade.php in layouts/partials folder. sidebar.blade.php [crayon-59599a9f9767e903223727/] Head over to the index.blade.php and add this: [...]