New version of XDebug released, which supports PHP8. Main concern for us is XDebug settings are changed.Old XDebug2 settings in php.ini can not be used for XDebug 3 and XDebug will not work. Please check in more details about the changed parameters here. https://xdebug.org/docs/upgrade_guide
Yup
Yup is a JavaScript schema builder for value parsing and validation. Define a schema, transform a value to match, validate the shape of an existing value, or both. Yup schema are extremely expressive and allow modeling complex, interdependent validations, or value transformations. Yup’s API is heavily inspired by Joi, but leaner and built with client-side validation …
TypeORM
TypeORM is an ORM that can run in NodeJS, Browser, Cordova, PhoneGap, Ionic, React Native, NativeScript, Expo, and Electron platforms and can be used with TypeScript and JavaScript (ES5, ES6, ES7, ES8). Its goal is to always support the latest JavaScript features and provide additional features that help you to develop any kind of application that uses …
MailSlurper
MailSlurper is a small SMTP mail server that slurps mail into oblivion! MailSlurper is perfect for individual developers or small teams writing mail-enabled applications that wish to test email functionality without the risk or hassle of installing and configuring a full blown email server. It’s simple to use! Simply setup MailSlurper, configure your code and/or …
Laravel Sanctum
Laravel Sanctum provides a featherweight authentication system for SPAs (single page applications), mobile applications, and simple, token based APIs. Sanctum allows each user of your application to generate multiple API tokens for their account. These tokens may be granted abilities / scopes which specify which actions the tokens are allowed to perform. How It Works …
How to return large json file on laravel?
We could have some cases which should fetch large json for DB records. On laravel, we can simple following as: response->json(User::get()….) But if the records are large, it will have a lot of ram on server. Also if there are a lot of requests, it will be more problems. So, we can solve following as: …
Phalcon – A full-stack PHP framework delivered as a C-extension
Phalcon is an open source full stack framework for PHP, written as a C-extension. Phalcon is optimized for high performance. Its unique architecture allows the framework to always be memory resident, offering its functionality whenever it’s needed, without expensive file stats and file reads that traditional PHP frameworks employ. Developers do not need to know …
Migrate Mongo
migrate-mongo is a database migration tool for MongoDB running in Node.js https://github.com/seppevs/migrate-mongo
Laravel API Documentation Generator
Automatically generate your API documentation from your existing Laravel/Lumen/Dingo routes. PHP 7.2 and Laravel/Lumen 5.7 or higher are required. If your application does not meet these requirements, you can check out the 3.x branch for older releases. Check out the documentation at the Beyond Code homepage.
Some tips to reinforce security in Laravel
Prevent from Brute-force attack In Laravel 7, Illuminate\Foundation\Auth\ThrottlesLogins is already there in LoginController which is used to prevent brute-force attack. Route::post(‘login’, ‘Auth\LoginController@postLogin’)->middleware(“throttle: maxAttempts, decayMinutes“); Prevent from going back in browser history after login/logout After logout, users should not be able to go back to the previous page by using browser’s “back” button. We need to add …