make laravel homestead site public without using third party services - laravel

I want to access my laravel homestead site from anywhere in the world without using third party services.I would like to know how I can do that.please help me

You might use ngrok, which is already part of Homestead, to make your site or APIs public.
I recommend deploying on laravel forge using the optimal package. It's quite affordable.
Or alternatively you might play with laravel vapor.

Related

How can I deploy Laravel and Wordpress together on Laravel Forge?

We are trying hard to deploy Laravel website with Wordpress on Laravel Forge but are unable to do so.
Say, if our domain is example.com, the blog should be example.com/blog. However, what we currently have is blog.example.com, which is not serving the purpose.
It'd be great if someone can help us find a fix for deploying Laravel project with Wordpress on Laravel Forge without changing the URL structure.

Laravel Debugbar with laravel api routes

I have a Laravel API.
The front end application is completely separate from Laravel.
All Laravel routes are located in routes/api.php
Is there any way to make the Laravel Debugbar work in this case?
https://github.com/barryvdh/laravel-debugbar
barryvdh/laravel-debugbar needs to be installed on your Laravel project (actually all debuggers need to be present within the project to audit every request) and get its files served to the frontend to work (edit repsonses with Middleware/InjectDebugbar.php).
I won't say that it is impossible to get its insights on a separate front, who knows if you are ready to fork the project and communicate with the debug bar APIs.
For a simpler alternatives you can use:
laravel/telescope docs repo
Clockwork browser extension website repo
spatie/laravel-ray(paid) website docs

how to use Stripe in laravel without using composer?

my project has been done with laravel 7 and its on a real host with cpanel as server software.
I want to online payment to website and I think Stripe is the best option but I cant figure it out how to use it without composer.
in every tutorial people used composer commands for doing this automatically, but in my case I have to put files one by one and update files.
I asked host provider about giving me composer ability on apache, but they said they cant so I have to do every thing manually.
I would be very glad if you could help me in this.
You do not need the Composer in your Hosting-Environment, If you have it in your Local-Environment then you will have the files already installed on your server. You could try Homestead what is already a pre-configured local-development environment for Laravel.
Composer is only a dependency-management-system, what makes you really easier to use open-source-code from other third party providers like the STRIPE-SDK.
But you can also use Stripes RAW REST-API's without the SDK, but it would be much more work - you can for example extract the needed parameters from the curl-example of stripe, but also if you use this direct way It would be easier to use a Curl-Wrapper-Library like Guzzle.
You should really have a deeper look into the composer, because if you want to use & contribute with some community-projects you need composer.
BTW: when you install laravel from scratch, then you still use the composer, as you see here.
While Composer is the recommended option, Stripe supports manual installation by downloading a specific version of their library and including it directly. It's also covered directly on their readme page here: https://github.com/stripe/stripe-php#manual-installation
You install the library locally by downloading the latest release and unzipping it, you add this to your own code and then you include the library like this:
require_once('/path/to/stripe-php/init.php');

Intergrate Laravel Library in Codeigniter Project

I have one library in laravel :-
https://github.com/mjaschen/collmex
I want to integrate it in my Codeigniter project, Can anyone help me in it?
since both use composer, you can simply require it.
but since you can't use service providers...you have to call them manually (i.e. you won't get access to alias in laravel) except that...you can do everything as in laravel project.

Getting a laravel script ready for clients

I'm developing a paid application that is based on laravel. I want ideas about how to package the app and how to decrease laravel file size and get rid of all laravel components that is of no use on production/every case, for example: Boris , Predis and maybe Swift email .. What is the proper way to remove them and what other parts of laravel can be removed with no effects?
Scripts could be used in shared hosting or by people with minimum and tech knowledge .. So, it should be easy for them

Resources