Download the PHP package esperlos/laravel_esperlos_boilerplate without Composer
On this page you can find all versions of the php package esperlos/laravel_esperlos_boilerplate. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download esperlos/laravel_esperlos_boilerplate
More information about esperlos/laravel_esperlos_boilerplate
Files in esperlos/laravel_esperlos_boilerplate
Package laravel_esperlos_boilerplate
Short Description A boilerplate for laravel designed to use laravel as backend and vue as frontend plus some improvements.
License MIT
Informations about the package laravel_esperlos_boilerplate
Laravel Esperlos boilerplate
+CedarMapHelper for handling cedar map apis
+FirebaseHelper for handling firebase apis
+JalaliDateHelper, NumbersHelper for handling persian date and numbers
+SmsPanelHelper for handling sms panel apis
+UploadHelper for handling file and image uploads
+ResponseHelper, InputHelper for easier api handling using a better pattern
+ControllerGenerator to generate controllers with our pattern
+Setup vue, vuex, vue router, vuetify and other vue essential packages by default
+Done some other customizes for easier use of Helpers
+New example for Model/Controller/Vue files
Setup
then you can set db configs, set migrations and so on ...
Generating Controller
This command will generate a controller in app/http/controller/api/ folder
Run
Example Routes
default example route for vue:
default example routes for api:
http://localhost:8000/api/v1/example/create-example-user
Body:
http://localhost:8000/api/v1/example/edit-example-profile
Body:
http://localhost:8000/api/v1/example/get-example
Body:
http://localhost:8000/api/v1/example/get-examples-list
Body:
InputHelper
This helper checks for valid input from user
-First parameter is just Request that you receive from controller function.
-Second parameter is an array of request parameters that you want to check.
-Last parameter is a callback function with Response parameter this function will be called when checks are passed.
Import:
Usage:
If you don't need to check any fields:
ResponseHelper
This helper helps you to provide an integrated json response for all apis
-First parameter is error message, if you don't have any errors you can set null value for it.
-Second parameter is Http Response code.
-Last parameter is data that you want send to user. it can be an array or object or even a string.
Import:
Usage:
Sample Output:
CedarMapHelper
Import:
Usage:
FirebaseHelper
Import:
Usage:
SmsPanelHelper
Import:
Usage:
All versions of laravel_esperlos_boilerplate with dependencies
fideloper/proxy Version ^4.0
laravel/framework Version 5.8.*
laravel/tinker Version ^1.0