Download the PHP package rspr/laravel-starter without Composer
On this page you can find all versions of the php package rspr/laravel-starter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package laravel-starter
Laravel starter (package-rspr-laravel-starter)
- rspr/laravel-starter
- namespace: RSPR\LaravelStarter
Version 10.0.11 (latest)
Laravel starter comes with helpful methods in making laravel projects
Installation
download the package via composer
composer require rspr/laravel-starter
Publishers
for starter files
for sample temporary files
Global classes
- rspr - usefull in blade template. Contains helpfull method like "vers" and "isRoute"
- RSPRL0g - same as \Log::class but with a better logging message output.
- RSPRSlackLog - slack log messaging/notification with an implementation of RSPRL0g better logging message output.
- RSPRLog - combined RSPRL0g and RSPRSlackLog implementation which output logs in the logger file and send message through slack webhook.
Pre-defined Alias classes
- L0g.php - Custom message logs, uses the original laravel logging class \Log::class, this helps the logging message to be more readable
- SlackLog.php - Slack log message which use webhooks from slack API, this helps the logging message to be more readable
Details
File versioning method, helps import files with version suffix so updated file will be imported and not the cache files
output: http://127.0.0.1/js/app.js?v=123456
e.g
output:
Blade route checking.
output: 'active'
e.g
output:
Message Log, uses the default \Log::class of the laravel but with more readability.
Sample output:
Message Slack Log, uses the "channel=slack" for message (only works if "slack.enable=true" and if webhook is configured)
Uses both Laravel log and Slack log at the same time.
Vue Integration using Vite
first runn the following command to install the vue packages
then publish from vendor the pre-configured js files for vue
also to be sure that your reference temporary files exists lets also publish all the tmp files
now lets start integrating vue in your code first check your layouts the parent blades should have the following codes
it will look something like this
the important thing in there is that your have the script for "vue-component.js" now lets go to your "compile.js" file and add the following code or uncomment the code
it should look like this
now copy the "HelloWorld.vue.tmp" and name it "Helloworld.vue" without the .tmp extension then in your "vite.config.js" uncomment or add the vue integration code
and it should look something like this
now in your "vue-component.js" change the "dashboard.index" to the corresponding route name of your page which you are integrating the vue js as for me I will change it to "project.index" so from this
to this
now in your page add the following code
then all you need to do is build your scripts
then you should be able to see your vue component in your page
React Integration using Vite
required packages
License
this package is free, open source, and GPL friendly. You can use it for commercial projects, open source projects, or really almost whatever you want.
- Code — MIT License