All posts

Securing your module 3/4 - Protect your code against SQL injections

2 years ago

Even though PrestaShop has been using the PDO library since version 1.5, it still does not call some important methods, such as bindParam() or bindValue(), which are designed to protect SQL queries. So we have to protect them manually.

Securing your module 2/4 - Disallow direct file access

2 years ago

Of your PHP files that are in your modules, you should only have class definitions and no dots - except for Ajax scripts (and again, you should only go through front or admin controllers). It is still recommended to prohibit access to all subdirectories containing PHP files or templates.

Securing your module 1/4 - Protecting yourself against Directory listing

2 years ago

Directory listing functionality is enabled by default on many web servers. And, depending on your host, it will be more or less easy to deactivate it.

Laravel Database Seeding with Model Factories

4 years ago

Laravel Database seeding is useful way to populate your database with dummy data which helps you in testing in your Local environment

Laravel Database Seeder

4 years ago

Laravel includes an easy method of seeding your database with test data using seed classes...

Laravel Database Migrations

4 years ago

A migration allows you to create and update a database schema. In other words, you can create tables, columns in these tables, delete them, create indexes ... Everything related to the maintenance of your tables can be taken care of by this tool. You thus have a follow-up of your modifications.

Laravel Playground

4 years ago

Laravel Playground is a free-to-use service that allows you to try out Laravel code directly in your browser.



Subscribe to Newsletter