#Laravel #LaravelRouter #LaravelRouteFunctions
Router & Fun Route Functions (Lesson 7 ~ Laravel 7 From The Ground Up)
In this lesson we'll cover some of Laravel's Router functions. You'll be surprised just how easy it is to warp your head around the incredibly readable syntax offered for so many of Laravel's Services, but quite possibly even more so for the Router.
~ Clean up existing functions using php7.4's implicit return arrow functions
~ Route::view
~ Route::fallback
~ Route::redirect
~ Route::permanentRedirect
Laravel 7 -- From The Ground Up
~~~
Lesson Resources
~~~~~~~~~~~~~
https://github.com/zhorton34/laravel-...
https://laravel.com/docs/7.x/routing#...
https://laravel.com/docs/7.x/routing#...
https://laravel.com/docs/7.x/routing#...
~~~~~~~~~~~~~~~~~~~~
Clean Code Studio ~ Simplify!
Clean Code Clean Life
~~~~~~~~~~~~~~~~~~~~
https://cleancode.studio
~~~~~
Github
~~~~~~~~~~~~~~~~~~~
https://github.com/zhorton34
~~~~~~~~~~~~
NpmJS Packages
~~~~~~~~~~~~
https://www.npmjs.com/~zhorton999
~~~~~~~~~~~~~~~~~~~~~
Packagist (Composer) Packages
~~~~~~~~~~~~~~~~~~~~~~
https://packagist.org/users/zhorton34...
~~~~~~
LinkedIn
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/ zak-horton
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Looking for hosting? Three options to consider
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1. Laravel Forge is my go to for monolithic apps.
https://forge.laravel.com
You'll need a digital ocean or AWS server
Laravel Forge starts at $12/month + the cost of your server
Expect to pay between $25-$50/month with cost variance depending on your server
(Note: Hostgator is the most cost friendly hosting and linked to below).
Laravel Vapor is my go to for Serverless non-monolithic applications
https://vapor.laravel.com
Vapor needs to be connected to an AWS account
Vapor itself will run you $39/month + the cost of your AWS cloud infrastructure
Apps expecting major traffic needing horizontal scaling capability may want vapor.
Price point: Expect to spend $100/month and be happily surprised if its less. The price for serverless majorly varies based on proper configuration and traffic. If everything is set up properly, and you have a lot of traffic serverless will spend you money. That being said -- it's nothing short of complex. Vapor simplifies the complexity of serverless cloud computing to an extent. Price point for Laravel Vapor per month with Aws setup: $90 to A lot of $/month.
3. Hostgator
https://partners.hostgator.com/24L6D (Aff)
Starts at $2.75/month
Cost-friendly
Beginner friendly
Not as powerful or configurable as Forge or Vapor
Solid hosting provider for small sites like your portfolio
cPanel offered with upgraded plan, also easy to upgrade
1. Laravel Forge: https://forge.laravel.com (Powerful, Beginner friendlyish)
2. Laravel Vapor: https://vapor.laravel.com (Powerful, Serverless scalability)
3. Hostgator: https://partners.hostgator.com/24L6D (Best Cost, Beginner friendly)