
RuntimeException You must enable the openssl extension in your php.ini to load information from https://repo.packagist.org
You have to enable openssl extension to avoid the RuntimeException You must enable the openssl extension in your php.ini to load information from https://repo.packagist.org exception while running composer command.
Answers 1
-
Enable openssl extension
--PATH E:\laragon\bin\php\php-8.0.16-Win32-vs16-x64\php.iniextension=openssl
0Enable openssl extension by removing the ; from the ;extension=openssl in php.ini file.
Find ;extension=openssl in php.ini file and remove ; from it or just place extension=openssl in case you did not find the ;extension=openssl in php.ini.
Additional Note:
File path may be different.
Random Code Snippet Queries: Laravel
- Get the post details if it has at least one comment in comments table
- Add a subselect based on relationship using withAggregate method
- Class 'App\Providers\Auth' not found
- Wheredate in laravel not working
- Print last executed query in laravel
- Rendering HTML from database table to view in Laravel
- How to display order by null last in laravel
- Permission denied error while creating storage link in Laravel
- How to get user information using hootlex/laravel-friendships package in laravel
- Get content from web URL in laravel
- How to validate URL with https using regex in laravel
- How to get data from two tables in laravel
- The openssl extension is required for SSL/TLS protection but is not available
- Show old value while editing the form in Laravel
- Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to tcp://smtp.gmail.com:587 (Connection refused)"
- How to check records exist in loaded relationship in Laravel blade view
- How to get date from created_at field in laravel
- How to send email in laravel
- Remove array keys and values if it does not exist in other array in Laravel
- Call to undefined method Illuminate\Support\Facades\Request::all()
- How to change default timestamp fields name in Laravel
- Get 30 days older records from table in laravel
- SQLSTATE[HY000]: General error: 1215 Cannot add foreign key constraint
- Laravel create multiple records in Pivot table
- How to get all posts which contains comments in laravel