- It is using Repository Pattern
- Instead of using env we will use the Config as env() will not work on the linux environment
- We will used custom Request Validator in each particular request for example instead of using Generic Request we will use our own request by running this command
php artisan make:request CustomRequest
- We will use JOB when sending and accessing third party web services.
- In BookingRepository we will use GuzzleHttp for easy handle instead of CURL and we will separate the code and add it in the provider folder.
- The static value like paid, unpaid, professional, rwstranslator, etc. we will add it in the model as a constant variable like so Model::PROFESSIONAL
- Instead using many elseif we can use switch methods