Skip to main content

Unveiling Laravel Spark

Laravel Spark, the banner product of Laravel PHP framework, exhibits two sides of the same story. On one side it ensures ease of formulation but on the other side discomfort of developing the software parts for a service application.
Spark sets the platform for the subscription application services like billing, invoices, password reset, profile photos, authentication, etc. One may even call it as a tool functioned to accelerate the pace at which SaaS application spins. Since most of the SaaSes are equipped with majorly similar components like user accounts, payment plans, stripe based payments, etc. Sparklets you jump over the hassle of recreating the functionalities with every novel Laravel app created and instead benefits you with a bonus of free SaaS landing pages to boot.

LARAVEL SPARK INSTALLATION

Ease of installation is what Spark boasts of. One just needs to type the command
But before running the command, one needs to ensure that his or her system is equipped with Global Composer Bin. This will ensure that when Spark is run through Command, it gets detected automatically from the folder.
Now, it’s time to for Laravel installation. So,
Laravel installation
And finally, Spark installation.
Spark installation
This is followed by all the prompts wherein YES should be your only answer.
prompts
These commands can also be prompted manually:
  • php artisan migrate
  • npm install
  • gulp
Finally, go to the .env file and set up the stripe token and Authy key. The author key is a 2FA system (2 Factor Authentication), for ensuring the protection of logins and also one can sign up for free API key.

CHANGES BROUGHT IN BY SPARK

  • Changes in the default view. For example: Instead of showing welcome, it now shows spark:: welcome
  • Updated user model to billable and 2FA (Factor Authentication)
  • Addition of stripe related fields to the user.
  • Addition of CashierServiceProvider and StripeServiceProvider
  • Changing password reset email to Spark password reset email.
  • Up gradation of creating a table to include Cashier, Team, and Two-Factor Auth columns.
  • Pulling in of app.js into Elixir and addition of some Spark-specific Sass variables to app.scss.

NEW FILES FROM SPARK

  • app/Providers/SparkServiceProvider.php
  • $invoiceWith ( for customization of invoices created by Spark)
  • customizeRegistration() (to add validation requirements and customize the user creation process)
  • customizeRoles()( For role setting)
  • customizeSettingsTabs() (For customizing default settings)
  • customizeProfileUpdates() (For customizing the user update process)
  • customizeSubscriptionPlans() ( For modifying the time plans into yearly, monthly, etc)
  • app/Team.php
  • database/migrations/DATE_create_teams_table.php
  • resources/assets/js/app.js
  • resources/assets/js/spark/components.js
  • resources/views/home.blade.php
  • md ( For terms of service page)
SPARK LOGIN PAGE
SPARK LOGIN PAGE
SPARK PASSWORD RESET PAGE
SPARK PASSWORD RESET PAGE
SPARK REGISTRATION PAGE
SPARK REGISTRATION PAGE
TERMS OF SERVICE PAGE
TERMS OF SERVICE PAGE

AUTHENTICATION

Laravel Spark comes built in with an extensive authentication framework that is interspersed in the software application, easily. It supports two-factor authentication (2FA).

PAYMENTS

Add a Stripe. Add a free monthly or yearly plan and finally add them to SparkServiceProvider.
Originally Published By Concetto Labs > Unveiling Laravel Spark

Comments

Popular posts from this blog

How to Hire a Full Stack Developer for Frontend Web Development?

People are often heard nowadays talking about back end and front end or sometimes the server side and the client side. The proper presentation of the data to the users is included in the frontends. The users mainly access the web through the normal browser. So, to target the end users, various technologies like JavaScript, CSS, and HTML are used. The  full stack web developer  and full stack programmer is mainly involved in the overall task of development, and so, it may be considered as the proper answer to the question, “What is full stack developer?” The backend generally, on the other hand, is much more concerned with the data aspect of a web application and also with the business logic. The 3-tier architecture For web development, there is mainly three-tier architecture which proves very much useful. Common client-server software architecture is implemented in this particular approach. Due to its huge demand, it is imperative to learn full stack web develo...

5 Features while Developing On-Demand ‘Mover n Packers’ App like Uber Movers

Peeping into a few years back, though there were mobiles trending, mobile apps were more limited towards messaging and gaming, but a year or two year back scenario depicts a different story in all. On-demand applications that can be for Food or say Cab Booking or for Salon or for the  Guard booking app  for the event, anything, and everything can be covered in the app itself. UBER is considered more of as a BRAND instead of just an app to book the cab. It has widespread its scope beyond the app in various fields across the globe. Along with the services of moving human from one destination to another, not just limiting to that, Uber is even into Movers and Packers, namely Uber Movers. According to the report, “UberMovers provides free and professional moving services for up to ½ an hour for students in Atlanta between 9 a.m. to 2 p.m. on Saturdays only”. Similar moving services, it provides in Nashville even. Eventually, it is spreading its wings further too. Are you the...

Top excellent Photo Editing Apps for iPhone and Android

 The photograph is always looking to capture picture-perfect images with creating memories. Using smartphones cameras offers great optics with high-resolution and sharp results. Today photographers are increasing as they click high-quality images with excellent resolution. If you’re a beginner and want to click masterpiece, the best we could recommend is to go for the best photo editing app for iPhone and Android to create a great visual strategy. One can also choose a product photography course to include photographic techniques and explain the best photo editing apps they should use. After you pick the best photo editing app, make sure it offers a comprehensive set of tools that make your photos shine. What are the best photo editing apps? After testing dozens of famous applications, we have listed below the best photo editing apps for iPhone and Android . We know that not everyone can shoot a photo with just an Android or iPhone smartphone. Therefore, here come the photo editi...