marveiga / hotel_search_package
The Laravel Framework.
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 1
Type:project
This package is auto-updated.
Last update: 2025-06-13 01:25:33 UTC
README
Laravel/PHP Practical exercise - package
How to use
Install with Packagist:
composer require marveiga/hotel_search_package
If the package not load automatically, then run the command:
composer dump-autoload
You can call the main method inside your controller. The method is:
Search::getNearbyHotels( $latitude, $longitude, $orderby )
This package creates two routes inside your project:
/search
/response
Aditional features
You can publish the views of this package for free customization with the command:
php artisan vendor:publish
And then select the respective number of this package
One practical example can be seen on the main branch of the package repository in Github.
Technologies used
- PHP
- Laravel
- Laravel Mix
- Composer
- Packagist
- Bootstrap
Known issues
Pattern match for input field - fixed
Missing characters on JSON response - can be "monkeypatched"
Personal note
Despite the strugle to publish this package, I'm greatful to learn more about this fantastic framework and hope grow with my skills with the help of good oppotunity. Thank you !