Create a project folder and add a composer.json file in it and paste the following codes, and run composer install. You should have Slim Framework, Twig, Illuminate(Laravel) in the project folder. Add a index.php file in project folder and copy paste the following: Create a folder named models in the project folder and add the… Read More »
Setting up Slim Application Create a folder for your project, mine called slim create a composer.json in the directory and open up your Command Prompt / Terminal and run composer install. Later you should have something similar to Screenshot #2. Setting up RedBeanPHP4 Download RedbeanPHP4 Create a folder named RedBeanPHP4 in vendor directory and extract… Read More »
Download Phalcon’s .dll file based on your environment – i’m using WampServer 32 bit(check with Task Manager if you don’t know your WampServer running on 32 bit or 64 bit). Once downloaded, extract the php_phalcon.dll into C:wampbinphpphp[version]ext. Add extension=php_phalcon.dll in 2 places: C:wampbinapacheapache[version]binphp.ini C:wampbinphpphp[version]php.ini Now, restart your WampServer services and check phpinfo(), see if it’s loaded or… Read More »
Assalamualaikum, I’ve been learning Phalcon Framework recently and end up built a Multiple-Module Skeleton app – basically to ease development process to manage modules. Looking forward to add in more features. I have it on GitHub. I have the directory structure as follow: Hope to get some feedbacks. Jazakumullahu khairan.
DomPDF – Production Ready Configuration PHP Version: 5.3 and above Settings: allow_url_fopen Extensions: MBString (Installation), GD (Installation), DOM(enabled by default) DomPDF Configuration / Usage Enable Remote – def(“DOMPDF_ENABLE_REMOTE”, true); Read/Write access to the DOMPDF_TEMP_DIR Use Absolute URL Use Full Document Root or Relative (if you’re still unable to view the image) Use JPEG UPDATE (2015-02-17): Security… Read More »
PDF: PHP & MySQL: Basic to Advanced
Always set the default Route the last one, else specific Route will be overwritten Set specific Route for a particular task